conditional style angular material code example
Example: conditional style angular
<div [ngStyle]="{'color':employee.country === 'India' ? 'orange' : 'red' }"></<div>
<div [ngStyle]="{'color':employee.country === 'India' ? 'orange' : 'red' }"></<div>