Get the length of list shown by ng-Show
问题 I'm using Vraptor + Angular, and the question is simple. I hide some rows in my table with ng-show, but I want to take the count/length of the actual lines shown. Example: I have 10 records on $data. But when I use ng-show, it just shows 5 records. When I use $data.length, it returns 10, but I want it to return 5. Table: <table data-ng-table="$tableUsuario.params"> <tbody > <tr data-ng-repeat="usuario in $data | filter:search:strict" data-ng-show="usuario.ativo == filtroAtivo && (filtroPerfil