Simple directive to constrain a text input to numeric values, using JQuery numeric lib
Installation :
Include in your html :
- jquery numeric js source (see http://www.texotela.co.uk/code/jquery/numeric/)
- kc-angular-numeric.js
- angularJs
In your angular application import "kc-angular-numeric" module
Usage :
<input type=text" numeric-field="">