I have a table. I want to set different colors depending on the values of one of the columns. I have managed to set two colors using NgClass. But how can I set three different conditions.
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<tr ng-class="{{project.total >= 0}} ? 'danger':'success'">
<td>
{{project.total}}
</td>
</tr>