We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's say I need dynamic ui-sref
ui-sref
<div ng-repeat="panel in panels"> <a ui-sref="panel.state" class="thumbnail"> <h2>{{ panel.name}}</h2> </a> </div>
Where my panels look like:
{ name:'Contact General', state:'contact.general' }, { name:'Contact Other', state:'contact.other' }
Is it possible to pass the object property into the ui-sref directive? From the docs it seems like it only accepts strings.
The text was updated successfully, but these errors were encountered:
see #395 it's not possible right now but not very hard to roll your own directive.
Sorry, something went wrong.
Yeah that's a dupe of #395
Just append '' to the state ("panel.state+''") and voila, its done (works for me :) )"
No branches or pull requests
Let's say I need dynamic
ui-sref
Where my panels look like:
Is it possible to pass the object property into the
ui-sref
directive?From the docs it seems like it only accepts strings.
The text was updated successfully, but these errors were encountered: