Thursday, 19 October 2017

angularjs filter


you can use below code to filter name is not null:

ng-repeat="friendObj in friends | filter:{'name':'!'}


below code to filter name is not mary
ng-repeat="friendObj in friends | filter:{'name':'!Mary'}"

No comments:

Post a comment