From ad505ee6c6c3325f1d08d72212cdd32e770fdc17 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 31 Aug 2018 15:47:35 -0400 Subject: [PATCH] add CurrencyPipe to providers --- src/popup/app.module.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/popup/app.module.ts b/src/popup/app.module.ts index bd6f78ed94..39027caee6 100644 --- a/src/popup/app.module.ts +++ b/src/popup/app.module.ts @@ -61,7 +61,10 @@ import { PopOutComponent } from './components/pop-out.component'; import { IconComponent } from 'jslib/angular/components/icon.component'; -import { registerLocaleData } from '@angular/common'; +import { + CurrencyPipe, + registerLocaleData, +} from '@angular/common'; import localeBg from '@angular/common/locales/bg'; import localeCs from '@angular/common/locales/cs'; import localeDa from '@angular/common/locales/da'; @@ -184,7 +187,9 @@ registerLocaleData(localeZhTw, 'zh-TW'); ViewComponent, ], entryComponents: [], - providers: [], + providers: [ + CurrencyPipe, + ], bootstrap: [AppComponent], }) export class AppModule { }