change ng-if condition to look at currentCategory