From: cyuamber Date: Thu, 29 Aug 2019 08:07:57 +0000 (+0800) Subject: bug: utils component registration in app.module X-Git-Tag: 2.0.2~250 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9835801b23bca6d5514bab1805f196240ea23da5;p=usecase-ui.git bug: utils component registration in app.module Change-Id: I67609d596499f31bfc454765f3cc2a8cb7252501 Issue-ID: USECASEUI-306 Signed-off-by: cyuamber --- 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,