AngularJS directive that replaces any other character except digits.