I want to use multiple classes inside Angular [ngClass]. I have two classes, It should work accordingly as per the condition of the flag, that are already passed from the component.ts.
Do like this:
<div [ngClass]="condition1 ? 'class1' : 'class2' " ></div>
(Ternary Operator Usage)