Want to set phone-number to 10 digits, How can I do this using Angular js.
This is what I have tried:
An even cleaner and more professional look I have found is to use AngularUI Mask. Very simple to implement and the mask can be customized for other inputs as well. Then a simple required validation is all you need.
https://angular-ui.github.io/