How do you do something like this in angular with ng-repeat?
I\'ll be using the example from the documentation which inits an array with 2 friends, what if I wanted to only
you can use "ng-show="friend.age >=26" with the ng-repeat="friend in friends". it will only show the friends who's age is greater than and equal to 26.
I have {{friends.length}} friends. They are:
[{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.