how to add multple classes using class.active="condition" angular code example
Example 1: conditional classes angular
<div
[className]="isActive ? 'active' : 'inactive'">
</div>
Example 2: Angular 8 ngClass If
[class.my-class]="step=='step1'"