angular-cn/packages/common
Hayouung ca1bc7e80b feat(common): allow default currency code to be configurable (#32584)
Default currency code in CurrencyPipe is currently hardcoded to USD
and is not configurable. This commit allows the default currency code
to be configurable by adding a DEFAULT_CURRENCY_CODE injection token.

Example:
```
providers: [{ provide: DEFAULT_CURRENCY_CODE, useValue: "GBP" }]
...
{{ 123.45 | currency }} // outputs £123.45 as opposed to always $123.45 before
```

Closes: #25461

PR Close #32584
2020-01-13 09:57:06 -08:00
..
http Revert "refactor: handle breaking changes in rules_nodejs 1.0.0 (#34589)" (#34730) 2020-01-10 14:12:15 -08:00
locales Revert "build: upgrade to rules_nodejs 1.0.0 (first stable release) (#34589)" (#34730) 2020-01-10 14:12:15 -08:00
src feat(common): allow default currency code to be configurable (#32584) 2020-01-13 09:57:06 -08:00
test feat(common): allow default currency code to be configurable (#32584) 2020-01-13 09:57:06 -08:00
testing docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
upgrade style(common): remove unnecessary private annotation (#34734) 2020-01-13 07:17:42 -08:00
BUILD.bazel Revert "build: upgrade to rules_nodejs 1.0.0 (first stable release) (#34589)" (#34730) 2020-01-10 14:12:15 -08:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json build: set up all packages to publish via wombot proxy (#33747) 2019-11-13 11:34:33 -08:00
public_api.ts refactor(common): move the low level locale registering to core (#33523) 2019-11-05 17:26:59 +00:00