/ngmodel-format

format for ng-model.

Primary LanguageJavaScript

ngmodel.format

Build Status

  • angular format for input/select ... ng-model stuff, the model value will be not same as view value.

  • there are some default format: currency, digit,int,float.

  • You can easy to change it, just inject modelFormatConfig constant into you module config for all of you application. and you also can just set default formatter on element attribute to change this format.