ca1bc7e80b
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 |
||
---|---|---|
.. | ||
brotli-cli | ||
browsers | ||
build | ||
gulp-tasks | ||
material-ci | ||
ng_rollup_bundle | ||
ngcontainer | ||
npm | ||
public_api_guard | ||
rxjs | ||
size-tracking | ||
source-map-test | ||
symbol-extractor | ||
testing | ||
ts-api-guardian | ||
tslint | ||
validate-commit-message | ||
yarn | ||
BUILD.bazel | ||
bazel_stamp_vars.js | ||
check-environment.js | ||
defaults.bzl | ||
jasmine-seed-generator.js | ||
jsconfig.json | ||
ng_benchmark.bzl | ||
postinstall-patches.js | ||
rebase-pr.js | ||
tsconfig-test.json | ||
tsconfig.json | ||
types.d.ts | ||
utils.inc | ||
verify-codeownership.js |