From 9835801b23bca6d5514bab1805f196240ea23da5 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 29 Aug 2019 16:07:57 +0800 Subject: bug: utils component registration in app.module Change-Id: I67609d596499f31bfc454765f3cc2a8cb7252501 Issue-ID: USECASEUI-306 Signed-off-by: cyuamber --- usecaseui-portal/src/app/app.module.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usecaseui-portal/src/app') diff --git a/usecaseui-portal/src/app/app.module.ts b/usecaseui-portal/src/app/app.module.ts index fa4b6bfb..3f750bfb 100644 --- a/usecaseui-portal/src/app/app.module.ts +++ b/usecaseui-portal/src/app/app.module.ts @@ -60,6 +60,8 @@ import { LineComponent } from './shared/components/charts/line/line.component'; import { PieComponent } from './shared/components/charts/pie/pie.component'; import { PathLocationStrategy, LocationStrategy, HashLocationStrategy } from '@angular/common'; +// common function util +import { Util } from './shared/utils/utils'; // Custom service import { MyhttpService } from './core/services/myhttp.service'; import { HomesService } from './core/services/homes.service'; @@ -77,6 +79,7 @@ import { TextService } from './core/services/text.service'; providers: [ { provide: LocationStrategy, useClass: HashLocationStrategy }, { provide: NZ_I18N, useValue: en_US }, + Util, MyhttpService, HomesService, onboardService, -- cgit 1.2.3-korg