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