-
Notifications
You must be signed in to change notification settings - Fork 42
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
Angular bindings in template: how to? #7
Comments
Hi @RodrigoBalest, unfortunately this is not possible right now, but I'll eventually add it later if it turns to be a nice-to-have feature. I leave this open to discuss about it! |
I would like to add a +1 to this, as I'm using this inside of a cordova app and also need to be able to use a ng-click on that. |
+1 A workaround to this is define in a custom template an ng-controller directive and the correspondant Controller. To pass data between controllers you can use a Service or the $rootScope. |
+1 |
Hi.
I'd like to set some angular bindings in the template, like ng-class or ng-click, referring the current slide, something like
ng-click="markAsSelected(currentSlide)"
, orng-class="{ 'selected': currentSlide.selected }"
.Is it possible? How?
Thanks!
The text was updated successfully, but these errors were encountered: