Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope properties other than card are not available #34

Closed
elado opened this issue Mar 1, 2014 · 1 comment
Closed

Scope properties other than card are not available #34

elado opened this issue Mar 1, 2014 · 1 comment

Comments

@elado
Copy link
Contributor

elado commented Mar 1, 2014

http://plnkr.co/edit/Nl1B4MdeCc2pZajuIVkJ?p=preview

<div ng-init="variable = 'example'"></div>

<div deckgrid source="[{a:1},{a:2}]" cardTemplateString="a: {{card.a}} | '{{variable}}' != 'example'." class="deckgrid"></div>

Expected: show variable's content as well.
Result: variable is empty.

@elado
Copy link
Contributor Author

elado commented Mar 1, 2014

👊 I didn't read the readme right.

Should use mother.

https://github.com/akoenig/angular-deckgrid#scope

@elado elado closed this as completed Mar 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant