angular style based on 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>