I would like to know how to restrict the user to enter only numeric digits and float values using angularJS. Let's say,

I want to allow the user to enter only 1234 or 1234.54 in some required fields. So, in this case i want to restrict the user to enter like -1234 or special characters or characters or - or entering only 0.

Please help me to know about this concept using angularJS