How can we filter based on a specific property for the built-in filter, from code? I know how to do it from markup -
<li ng-repeat="user in users | filter:{status:status}">{{user.name}}</li>
This seems to be a particular problem when the property name is a variable. I've recreated the problem in jsfiddle - http://jsfiddle.net/n925b20L/