An AngularJS Directive for turning a text input into a numeric input