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.
See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
for more info on Angular 2 Components.
-->
<!-- Generated template for the $CLASSNAME component -->
<div>
{{text}}
</div>

View File

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

View File

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