How do I make a Mask for an input text with the format xx / xx / xxxx xx: xx: xx using angular? It would be the day, month, year, hour, minute and seconds.
<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-char="_"/>
</div>
<table>
<tbody>
<tr dir-paginate="atividade in atividades | filter:criterioDeBusca | orderBy:criterioDeOrdenacao:direcaoDaOrdenacao|itemsPerPage:5">
<td>{{atividade.dataCriacao | date:'dd/MM/yyyy HH:mm:ss'}}</td>
</tr>
</tbody>
</table>