hey guys, I am new in ionic 2
i want to set my background color or text color of text based on value loaded.
in my code {{item.Remarks}} returns value ‘P’ or 'A’
i want to set color of text green if {{item.Remarks}} returns the value=P;
and color Red for value=A;
here is my code:
{{item.AttendanceDate}}
{{item.Remarks}}