Task type filter in ng-repeat