bug: utils component registration in app.module 97/94497/1
authorcyuamber <xuranyjy@chinamobile.com>
Thu, 29 Aug 2019 08:07:57 +0000 (16:07 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Thu, 29 Aug 2019 08:08:04 +0000 (16:08 +0800)
Change-Id: I67609d596499f31bfc454765f3cc2a8cb7252501
Issue-ID: USECASEUI-306
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/app.module.ts

index fa4b6bf..3f750bf 100644 (file)
@@ -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,