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

18 lines
451 B
JavaScript

import {Page, NavController} from 'ionic-angular';
import {Inject} from 'angular2/core';
/*
Generated class for the <%= jsClassName %> page.
See http://ionicframework.com/docs/v2/components/#navigation for more info on
Ionic pages and navigation.
*/
@Page({
templateUrl: 'build/<%= directory %>/<%= fileName %>/<%= fileName %>.html',
})
export class <%= jsClassName %> {
constructor(@Inject(NavController) nav) {
this.nav = nav;
}
}