Files
Tim Lancina 1495a1353e chore(generators): update Ionic imports
To be in line with 1cfca53f9.
2016-02-22 16:47:47 -06:00

20 lines
577 B
JavaScript

import {Component} from 'angular2/core';
import {IONIC_DIRECTIVES} from 'ionic-angular';
/*
Generated class for the <%= jsClassName %> component.
See https://angular.io/docs/ts/latest/api/core/ComponentMetadata-class.html
for more info on Angular 2 Components.
*/
@Component({
selector: '<%= fileName %>',
templateUrl: 'build/<%= directory %>/<%= fileName %>/<%= fileName %>.html',
directives: [IONIC_DIRECTIVES] // makes all Ionic directives available to your component
})
export class <%= jsClassName %> {
constructor() {
this.text = 'Hello World';
}
}