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