File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,10 @@ Install the package:
1212npm install angular-ecmascript-intl --save
1313```
1414
15- Import the ` IntlModule ` :
15+ Import the pipes individually as per usage, or import the ` IntlModule ` to import all pipes at once.
1616
17- ``` typescript
18- import { NgModule } from " @angular/core" ;
19- import { IntlModule } from " angular-ecmascript-intl" ;
20-
21- @NgModule ({
22- imports: [IntlModule ],
23- })
24- export class MyModule {}
25- ```
26-
27- By default, the pipe will use the browser default locale. If you want to override it, you can provide the ` INTL_LOCALES `
28- injection token:
17+ By default, all pipes will use the browser default locale.
18+ If you want to override it, you can provide the ` INTL_LOCALES ` injection token:
2919
3020``` typescript
3121import { NgModule } from " @angular/core" ;
You can’t perform that action at this time.
0 commit comments