angular/packages/common/test
Hayouung 965f5575c7 feat(common): allow default currency code to be configurable (#34771)
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 #34771
2020-01-14 10:24:55 -08:00
..
directives fix(common): ngStyle should ignore undefined values (#34422) 2019-12-16 12:38:50 -08:00
i18n fix(common): update CLDR generated files to 36.0.0 (#33584) 2019-11-07 22:11:34 +00:00
location feat(common): provide replacement for AngularJS $location service (#30055) 2019-04-24 13:49:29 -07:00
pipes feat(common): allow default currency code to be configurable (#34771) 2020-01-14 10:24:55 -08:00
BUILD.bazel Revert "refactor: handle breaking changes in rules_nodejs 1.0.0 (#34589)" (#34730) 2020-01-10 14:12:18 -08:00
cookie_spec.ts build: remove main() from specs (#21053) 2017-12-22 13:10:51 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
viewport_scroller_spec.ts fix(common): escape query selector used when anchor scrolling (#29577) 2019-03-29 10:39:38 -07:00