I am having the below line of code which is having two values Absent and Present.If the value is Absent i want make it red colour and bold.I tried by applying style but it is not working.please suggest me how to do it .
code:
<div class="flex-2 bold1">{{attendance.status == 'Absent' ? "style='color:red;font-weight:bold'" :" "}}</div>