In my ng-grid setup, I have implemented a specific cell Template as shown below:
cellTemplate: '<div class="ngCellText" ng-class="{\'red\': {{row.getProperty(col.field)}} > 15 , \'yellow\': {{row.getProperty(col.field)}} > 5 && {{row.getProperty(col.field)}} <= 15}">{{row.getProperty(col.field)}} </div>'
Despite this configuration, the output does not match my expectations. It sometimes assigns the 'red' class even when the value is 0. This unexpected behavior has me puzzled.