angular-ys-directive-only-number
Angular directive only number for html5 input text
Installation
To install this module, you need to run the following command
$ npm install --save angular-ys-directive-only-number
Dependency
$ npm install --save jquery@~3.0.0
$ npm install --save angular@~1.6.1
$ npm install --save angular-ys-factory-keyboard@~1.0.0
$ npm install --save angular-ys-service-keyboard@~1.0.0
Include Javascripts in index.html
Add directive in app.js or main.js
angular.module('app', ['angularYS.DirectiveOnlyNumber']);
Example
{{numericValue}}