Angular Basics - NgClass

350 Views

Continuing on with my things learned from putting together http://www.kritner.com/solar-projection/ series - the NgClass. I was having trouble really quickly "seeing" what the "good" and "bad" years were, due to varying percentage values of my solar projection. With this in mind, I thought it would be good to apply some shading to cells depending on the value within the call.