In my template I use ng-repeat="obj in list".
Where list is object:
0: {
status : "active",
category : "animal"
}
...
Also by default I have $scope.filter = {}
When I handle click: I fill this $scope.filter:
$scope.filter["categories"].push("animal");
$scope.filter["categories"].push("human");
How to make that filter in ng-repeat will work with array $scope.filter["categories"] and will find elements where category is corresponding $scope.filter["categories"]?