I am using ngChange in AngularJS to trigger a custom function that will remove any letters the user adds to the input.
I know this is old, but I've created a directive for this purpose in case anyone is looking for an easy solution. Very simple to use.
You can check it out here.