>>UPDATE. It doesn't really restrict entering anything but it allows to check for validity.
>
>Ah. Haven't tried it but maybe :
https://github.com/AlphaGit/ng-pattern-restrictIt is still good and I found that the same form used ng-pattern already, so I went with it. Thanks again.
If it's not broken, fix it until it is.
My Blog