What is wrong with my Angular code? I am getting:
Cannot read property \'remove\' of undefined at BrowserDomAdapter.removeClass ...
You can use [ngClass] or [class.classname], both will work the same. [class.my-class]="step==='step1'" OR
[class.my-class]="step==='step1'"
[ngClass]="{'my-class': step=='step1'}"
Both will work the same!