Skip to content

Commit 2835b80

Browse files
committed
add currency pipe
1 parent 3a31442 commit 2835b80

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/app.module.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { AppComponent } from './app.component';
66
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
77
import { HttpClientModule } from '@angular/common/http';
88
import { TranslocoRootModule } from './transloco-root.module';
9+
import { CurrencyPipe } from '@angular/common';
10+
911

1012
@NgModule({
1113
declarations: [
@@ -18,7 +20,7 @@ import { TranslocoRootModule } from './transloco-root.module';
1820
HttpClientModule,
1921
TranslocoRootModule
2022
],
21-
providers: [],
23+
providers: [CurrencyPipe],
2224
bootstrap: [AppComponent]
2325
})
2426
export class AppModule { }

0 commit comments

Comments
 (0)