chore(templates): update component templates

This commit is contained in:
Daniel Imhoff
2017-03-23 10:59:06 -05:00
parent 4b9f673594
commit d04650c130
3 changed files with 12 additions and 17 deletions

View File

@ -1,9 +1,4 @@
<!-- <!-- Generated template for the $CLASSNAME component -->
Generated template for the $CLASSNAME component.
See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
for more info on Angular 2 Components.
-->
<div> <div>
{{text}} {{text}}
</div> </div>

View File

@ -1,13 +1,13 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { $CLASSNAMEComponent } from './$FILENAME'; import { $CLASSNAME } from './$FILENAME';
import { IonicModule } from 'ionic-angular'; import { IonicModule } from 'ionic-angular';
@NgModule({ @NgModule({
declarations: [ declarations: [
$CLASSNAMEComponent, $CLASSNAME,
], ],
imports: [ imports: [
IonicModule.forChild($CLASSNAMEComponent) IonicModule.forChild($CLASSNAME),
] ]
}) })
export class $CLASSNAMEComponentModule {} export class $CLASSNAMEModule {}

View File

@ -1,16 +1,16 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
/* /**
Generated class for the $CLASSNAME component. * Generated class for the $CLASSNAME component.
*
See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html * See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
for more info on Angular 2 Components. * for more info on Angular Components.
*/ */
@Component({ @Component({
selector: '$FILENAME', selector: '$FILENAME',
templateUrl: '$FILENAME.html' templateUrl: '$FILENAME.html'
}) })
export class $CLASSNAMEComponent { export class $CLASSNAME {
text: string; text: string;