ng-currency

ngCurrency is a directive that enables seamless use of currency input.
10 people use it
Author: 697379?v=2 aguirrel

ngCurrency is a directive that enables seamless use of currency inputs.

Main features:

  • The model is consistent as it values is a float (even if there are alpha caracters in the middle) or NaN in the empty case.
  • Input value is always filtered with locale currency when load and on blur.
  • You may write the amount using locale decimal or use dot (.) as default.
  • The only required dependency is angular!
  • Min and Max validators like input[number].
comments powered by Disqus
This page was last updated over 2 years ago.