html:
<input type="text" class="form-control" ng-model="item.formFieldValue" ng-change="toLimit(item,item.formFieldValue,'{{item.formFieldValue}}')">
JS:
$scope.toLimit = function(item,newValue,oldValue){ if(/^\d*(\.\d{0,2})?$/.test(newValue)==false){ item.formFieldValue=oldValue; } };