Nested filtering with Angular.js version 1.2.18
I'm experimenting with AngularJS for the first time. I do repeat a template based on JSON data, which here is a sample: $scope.users = [ {name: 'first user', status: {name: 'employee'}}, {name: 'second user', status: {name: 'freelancer'}}, {name: 'third user', status: {name: 'employee'}}, ]; This works fine: <p ng-repeat="user in users">{{user.name}}</p> Now I want to prefilter the users displayed. Works fine, too: <p ng-repeat="user in users | filter:{status: 'employee'}">{{user.name}}</p> But when I want to filter on the basis of JSON data within a nested object ( status.name instead of