I am using ng-class to color a particular cell based on the value of the cell.
ng-class="{'score-cell green': value >= 70 ,
'score-cell red': value <= 40,
'score-cell yellow': value < 70 && value > 40}"
How can I switch between ranges something like this?
it should gradually transition from red to yellow to green.
Please advice.
Please find this plunkr here.