Ihaveatablethatshowsthematurities,howcanIleavethefontredorthebackgroundredifitisexpired?usingcss
Mytableismountedasfollows
<tableid="myTable" class="uk-table sortable uk-table-hover uk-text-nowrap" cellspacing="0" cellpadding="1" border="0" width="99%">
<thead>
<tr>
<th class="uk-width-1-10 uk-text-center small_col"><input type="checkbox" icheck ng-change="sellall()" ng-model="table1.selectAll" class="check_all" table-check-all></th>
<th style="width: 80px">AÇÕES</th>
<th style="width: 70px">EMISSÃO</th>
<th style="width: 70px">VENCIMENTO</th>
<th style="width: 200px">PESSOA</th>
<th style="width: 80px; text-align:right">VALOR</th>
<th style="width: 80px; text-align:right">PAGO</th>
<th style="width: 80px; text-align:right">SALDO</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th>Selecionado:<span class="uk-badge uk-badge-notification uk-text-large">{{valSelecionado | currency : ''}}</span></th>
<th>Pago: <span class="uk-badge uk-badge-notification uk-badge-success uk-text-large">{{valJaPago | currency : ''}}</span></th>
<th>Saldo: <span class="uk-badge uk-badge-notification uk-badge-warning uk-text-large">{{valBaixar | currency : ''}}</span></th>
<th></th>
<th style="text-align:right">{{totalSelect | currency: ''}}</th>
<th style="text-align:right">{{totalPago | currency: ''}}</th>
<th style="text-align:right">{{totalSelect - totalPago| currency: ''}}</th>
</tr>
</tfoot>
<tbody>
<!--ng-change="tteste()" ng-checked="tteste()" ng-click="tteste()"-->
<tr ng-repeat="item in registro" on-last-repeat>
<td class="uk-text-center uk-table-middle small_col"><input type="checkbox" icheck ng-model="tabela[$index]" ng-change="addRem($index, tabela, item)" class="check_row" table-check-row></td>
<td style="width: 50px" class="">
<a class="tooltip" title="Deletar" ng-click="delRegistro(item)"><i class="md-icon material-icons uk-text-danger tooltip" title="Deletar"></i></a>
<a ng-click="editRegistro(item)" href="#modalcadastro" data-uk-modal="{ center:true, bgclose:false }"><i class="md-icon material-icons tooltip" title="Editar">mode_edit</i></a>
<a ng-click="setDadosBaixar(item)" href="#modalbaixa" data-uk-modal="{ center:true, bgclose:true }"><i class="md-icon material-icons tooltip" title="Editar">file_download</i></a>
<a ng-click="cleanContaMov(); getContaMov(item)" href="#modalbaixados" data-uk-modal="{ center:true, bgclose:true }"><i class="md-icon material-icons tooltip" title="Visualizar baixas parciais">chrome_reader_mode</i></a>
</td>
<td>{{item.dt_emissao}}</td>
<td>{{item.dt_vencto}}</td>
<td>{{item.PessoaModel.razao | limitTo : 30 : 0}} <a ng-if="item.PessoaModel.razao.length > 30">...</a> </td>
<td style="text-align:right">{{item.valor | currency: ''}}</td>
<td style="text-align:right">{{item.vlr_pago | currency: ''}}</td>
<td style="text-align:right">{{item.saldo | currency: ''}}</td>
</tr>
</tbody>
</table>
*** I have a field that when overdue its value is "yes"