- Upgrade to Numeral.js 2.x, with several breaking changes
- $numeraljsConfigProvider's interface has been modified to better match Numeral.js
$numeraljsConfigProvider.setCurrentLanguage(lang)
has been renamed tolocale(locale)
$numeraljsConfigProvider.setDefaultFormat(format)
has been renamed todefaultFormat(format)
$numeraljsConfigProvider.setFormat(name, formatString)
has been renamed tonamedFormat(name, formatString)
$numeraljsConfigProvider.setLanguage(lang, def)
has been renamed toregister('locale', name, def)
- Fixed indentation to match EditorConfig settings
- Upgraded Karma & related test dependencies
- Remove the separate CommonJS build in favor of a single UMD module.
- Adds support for reconfiguring the library at runtime via injectable $numeraljsConfig.
- Added bower example.
- Updated various build dependencies to recent versions.
- Bug fix
- Fix minified version by annotating the Angular dependencies
- Exclude files from the npm package
- Add commonjs version
- Add Browserify/Grunt example
- Updated examples, unit tests
- Added $numeraljsConfigProvider and various configurations
- Added language option to the 'numeraljs' filter
- Bug fixes
- First version