NGCLASS -Stackoverflow

<div [ngClass]="condition1 ? 'class1' : 'class2' " ></div>
Cherry berry