add conditional class using ng-class

add conditional class using ng-class