summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-29 16:07:57 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-08-29 16:08:04 +0800
commit9835801b23bca6d5514bab1805f196240ea23da5 (patch)
tree7a23676748f35cf8257d876f363f1edd04f8a717
parentcbb4b91ad39b44a76d1b1d4b745ef2b38fab74ce (diff)
bug: utils component registration in app.module
Change-Id: I67609d596499f31bfc454765f3cc2a8cb7252501 Issue-ID: USECASEUI-306 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--usecaseui-portal/src/app/app.module.ts3
1 files changed, 3 insertions, 0 deletions
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,