Fixing a ng-class statemente error