Angularjs Directive Accept Number Only A angularjs directive which allows only numbers to be typed into a text box .