angular 10 ngclass example conditional Example: ngclass condition [ngClass]="(step=='step1')?'my-class1':'my-class2'"