Added by: Sam Deering
An AngularJs module to mask input fields to currency formatting.
You should be able to type in the input and it will always format the string to a currency format.
This module uses the AngularJs $locale service to ensure this works across all currencies.
Initial value set to a negative and in Spanish formatting.
##Usage Inject the module in your app
and then ensure you add the directive to an input field you want the mask applied to
<input type="text" ng-model="yourModelValue" rj-currency-mask>
Note: The imput must be of type text (becuase you can't put a currency symbol in a number field)
And the input must have
###i18n and l10n
If you want to use formatting other than the default en-US you need to include the correct $locale file, as per : https://docs.angularjs.org/guide/i18n
Open the SpecRunner.html in a browser.
Module stats last updated: 2015-04-19 02:21:04