I have an html file with input field
<input type="text" allow-decimal="true" allow-negative="false" ng-model="amount"
and i have a controller.js file with scope variables $scope.amount=40000; and have one more scope variable $scope.minAmount= 2000;
So, what i want to do is I want to restrict the user from entering any value below 2000. User should not be allowed to enter anything below the value 2000.
can anyone help me with this?