how to apply swicth statment in css class name in angular code example Example: add classon ng if [ngClass]="{'my-class': step === 'step1'}"