Use ng-class along instead of $scope.tabClass()