You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)", or ng-class="{ 'selected': currentSlide.selected }".
Is it possible? How?
Thanks!
The text was updated successfully, but these errors were encountered:
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.
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: