change class list of item angular code example
Example 1: ng class multiple class names
<!-- notice expression1 used twice -->
<div ng-class="{class1 : expression1, class2 : expression1}">
Hello World!
</div>
Example 2: angular bind to class or ngClass
<div [ngClass]="{'extra-sparkle': isDelightful}">