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