testing with filter and index in ng-repeat