adding ng-class directive