Angular
Apply condition at ng-class in angularJS
We can apply different type of conditions for ng-class. Suppose you have 3 css classes(red, green, bold). Now you want to apply that on different conditions. if-condition ternary condition multiple class The complete code for the above example: