My problem is that I need to know when my array filtered is empty. I'm applying some filters to an array and showing the results, when the filters make no results, I need to show a message error. How can I catch the moment when the array is empty ?
Html:
<div ng-repeat="array in arrays | filterArray1 | filterArray2 | filterArray3 | filter: 'name'>
Thanks in advance.