angular-docs-cn/packages/common/test
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
..
directives fix(common): ngStyle should ignore undefined values (#34422) 2019-12-16 12:38:49 -08:00
i18n feat: add direction property to locale files (#33556) 2019-12-03 15:58:09 -08: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 (#32584) 2020-01-13 09:57:06 -08:00
BUILD.bazel Revert "refactor: handle breaking changes in rules_nodejs 1.0.0 (#34589)" (#34730) 2020-01-10 14:12:15 -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