I use this directive, iterating over an array \"myArr\", filtering for a few conditions.
Use ng-if instead of ng-show.
ng-if
ng-show
Unlike ng-show, falsey ng-if removes the element from the DOM.
EDIT:
Also, you can, in fact, use limitTo filter, which would make your code much cleaner:
limitTo
show more...
plunker