Angular filter exactly on object key
In Angular 1.1.3 or newer you can use the following: <div ng-repeat=”user in users | filter:{‘id’: 1}:true”> {‘id’: 1} says to only compare with the field id. That gets you: simon, 1 archie, 14 :true says “exact match” resulting in: simon, 1 Here’s that working: http://jsfiddle.net/AM95H/ To filter against a list of values, if you … Read more