I'm using angularjs in a site and there I have a search input that filters a list on a view. This list is displayed with a ng-repeat that has a filter from the search input:
The search input:
<input type="text" placeholder="Device Search" class="form-control hasclear"
ng-model="searchText"/>
And here the ng-repeat:
<tr ng-click="openModal(device['device_id'], device)"
ng-repeat="device in devices | filter:searchText | orderBy:predicate:reverse">
As you see the filter in the ng-repeat has the filter that uses the searchText variable from the ng-model. I would like to know if it's possible to know how many objects were found when the user enters a text in the search input (How many devices the ng-repeat is displaying being filtered). Like: 0 devices were found
, 3 devices were found
...
Is there a way to display this information by the way I built this search?