cant bind class to ngclass code example Example: angular bind to class or ngClass <div [ngClass]="{'extra-sparkle': isDelightful}">