Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 356 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 356 Bytes

angular-integer-input

Directive that makes the inputs with integer to be available as integer in the model.

bower install integer-input --save

inject 'integer-input' in your app module as following.

angular.module('test', ['integer-input']);

use in input as <input type="[text|number|checkbox|radio etc]" ng-model="product.quantity" integer/>