I would like to set different color backgrounds of a table row depending on the state of one of my data structures
I tried
<tr data-ng-repeat="shipping in shippings" data-ng-init="shippingIndex = $index" data-ng-class="{
'bg-custom bg-danger': shipping.status == 'NONE',
'bg-custom bg-warning-o': shipping.status == 'SENT',
'bg-custom bg-warning': shipping.status == 'TRACK_LOST',
'bg-custom bg-success': shipping.status == 'RECEIVED',
'bg-custom bg-dark': shipping.status == 'NOT_SUPPORT_TRACK' }">