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