I am applying a filter on my page, it was working perfectly, except that when I applied the mask to be in the format dd / MM / yyyy HH: mm: ss it stopped filtering correctly, it understands that there is nothing corresponding, from the first number entered he can not find anything, returns empty the list, as if it did not exist. Before applying the mask, if I manually typed the dd / mm / yyyy HH: mm: ss (typing with the numbers and separations / e :) he would find the correspondent perfectly. The other fields continue to filter correctly.
<div class="form-group filtro">
<label class="" for="endDate">Data de Criação</label>
<input type="text" class="form-control" ng-model="criterioDeBusca.dataCriacao" ui-mask="99/99/9999 99:99:99" ui-mask-placeholder ui-mask-placeholder-char="_" />
</div>
-
<table>
<tr dir-paginate="atividade in atividades | filter:criterioDeBusca | orderBy:criterioDeOrdenacao:direcaoDaOrdenacao|itemsPerPage:5">
<td>{{atividade.codigo}}</td>
<td class="text-left">{{atividade.descricao}}</td>
<td>{{atividade.dataCriacao | date:'dd/MM/yyyy HH:mm:ss'}}</td>
</tr>
</table>