handle ng-class