I want to use ng-repeat in Angular, while I only want to output some elements of the array. An Example:
ng-repeat=\"item in items | filter:($index%3 == 0)\"
In your code, filter apply on 'items' array, not on each array item, that's why it does not work as you expect.
Instead, you can use ng-show (or ng-if):
{{item}}
See: http://jsfiddle.net/H7d26
EDIT: Use ng-if directive if you do not want to add invisible dom elements: