File tree 1 file changed +3
-13
lines changed
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,10 @@ Install the package:
12
12
npm install angular-ecmascript-intl --save
13
13
```
14
14
15
- Import the ` IntlModule ` :
15
+ Import the pipes individually as per usage, or import the ` IntlModule ` to import all pipes at once.
16
16
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:
29
19
30
20
``` typescript
31
21
import { NgModule } from " @angular/core" ;
You can’t perform that action at this time.
0 commit comments