fixed ng-class issues