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