Angularjs - Using Ng-show Within Ng-repeat
I'm having an issue using the ng-show directive within an ng-repeat block. The boolean value does not seem to be getting passed to ng-show correctly... To show what I mean, here is
Solution 1:
In your ng-show
you don't need { } try this:
<h4ng-show="actress.name == 'Scarlett'">Was in Avengers! <spanclass="note">
See this fiddle for a working sample of an ng-show
within an ng-repeat
.
Post a Comment for "Angularjs - Using Ng-show Within Ng-repeat"