From 09b01baa4e80c9d15f41f6b408808d498f18d6e6 Mon Sep 17 00:00:00 2001 From: jgw96 Date: Wed, 22 Mar 2017 13:37:40 -0500 Subject: [PATCH] chore(templates): clean up templates for new generators --- scripts/templates/component/html.tmpl | 5 +++-- scripts/templates/component/module.ts.tmpl | 3 +-- scripts/templates/page/module.ts.tmpl | 3 +-- scripts/templates/tabs/module.ts.tmpl | 3 +-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/scripts/templates/component/html.tmpl b/scripts/templates/component/html.tmpl index 16b0f3c410..0bde9e97fb 100644 --- a/scripts/templates/component/html.tmpl +++ b/scripts/templates/component/html.tmpl @@ -4,5 +4,6 @@ See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html for more info on Angular 2 Components. --> - -{{text}} +
+ {{text}} +
diff --git a/scripts/templates/component/module.ts.tmpl b/scripts/templates/component/module.ts.tmpl index c2d02061fc..4f5419ce47 100644 --- a/scripts/templates/component/module.ts.tmpl +++ b/scripts/templates/component/module.ts.tmpl @@ -11,7 +11,6 @@ import { IonicModule } from 'ionic-angular'; ], entryComponents: [ $CLASSNAMEComponent - ], - providers: [] + ] }) export class $CLASSNAMEComponentModule {} diff --git a/scripts/templates/page/module.ts.tmpl b/scripts/templates/page/module.ts.tmpl index f68bb096ec..06e7bee3b5 100644 --- a/scripts/templates/page/module.ts.tmpl +++ b/scripts/templates/page/module.ts.tmpl @@ -11,7 +11,6 @@ import { IonicModule } from 'ionic-angular'; ], entryComponents: [ $CLASSNAME, - ], - providers: [] + ] }) export class $CLASSNAMEModule {} diff --git a/scripts/templates/tabs/module.ts.tmpl b/scripts/templates/tabs/module.ts.tmpl index f68bb096ec..06e7bee3b5 100644 --- a/scripts/templates/tabs/module.ts.tmpl +++ b/scripts/templates/tabs/module.ts.tmpl @@ -11,7 +11,6 @@ import { IonicModule } from 'ionic-angular'; ], entryComponents: [ $CLASSNAME, - ], - providers: [] + ] }) export class $CLASSNAMEModule {}