ng class angular 9 code example
Example 1: ng class
[ngClass]="{'text-success':person.country === 'UK'}"
Example 2: ng class in angular
[ngClass]="{'text-success':person.country === 'UK'}"
[ngClass]="{'text-success':person.country === 'UK'}"
[ngClass]="{'text-success':person.country === 'UK'}"