I have ng-repeat
and I need the input field to have the following format:
9,999.99
Code :
<tr ng-repeat="item in estado.tabela | orderBy:'ano'">
<td>{{item.ano}}
</td>
<td>
<input type="number" step="any" ng-model="item.valor" class="form-control" ng-disabled="{{item.ano < @Model.Confo.ano}}">
</td>
<td>{{item.somatorio | number:2}}
</td>
What is the best way to solve this?