How can we use filter in ng-repeat when iterating on an object in AngularJs

wolf

New Member
Search field binded to a model\[code\]<input type="text" ng-model="searchVoucher" />\[/code\]An object iterated in ng-repeat\[code\]<li ng-repeat="(k,f) in {'r':4,'e':5,'t':6,'y':7,'c':8} | filter:searchVoucher">{{f}}</li>\[/code\]How can i filter based on the object's key or val or val can also be an object having attributes.Please help
 
Back
Top