I have an object which has a variable called changeColor. In my html table I want to change the cell color if changeColor is true. I am using angular.<
changeColor
Don't put so much logic in your views. Try this instead:
ngClass directive
It will allow you to change the td class based on an expression.