Fields formatting mask in angularJs
This module allows a dynamic formatting is included in a screen element. To do this simply include the module in its AngularJs application and set policies on the html element.
<input type="text" class="form-control input-small" data-ng-model="zipcode" placeholder="Enter the zip code" data-ng-mask="#####-###" data-on="keyup">
- "data-ng-mask" defines the shape of the mask should be compulsory
- "data-on" defines which event the formatting should happen, and can be in the keyup, click etc ...
$ bower install ng-mask --save