I have an ng-repeat with multiple filters like below:
Active Items Found: {{totalActiveItems}} <div ng-repeat="item in items | filter:searchFilter | filter:{active:true}"> {{item.title}} </div> I'm trying to store the total count outside of the ng-repeat in the totalActiveItems variable.
I saw this answer: How to display length of filtered ng-repeat data
But it doesn't seem to show how to do it for multiple filters.