ng class if anguarl 8 code example Example: Angular 8 ngClass If [ngClass]="{'my-class': step=='step1'}"