[Solved] Angular filter for specific properties in an array
By default angular filters by any property of an object. If you want to filter by specific property you need to update your filter: <li ng-repeat=”user in Model.users | filter: { user: Model.name } | orderBy:’price'”> {{user.user + ‘ bought phone worth ‘ + user.price}} </li> Pay attention to this part: filter: { user: Model.name … Read more