mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* @Inject to parameters() Changed injection of Http to use parameters() instead of @Inject * import map operator Added import of map operator from rxjs * Typescript Generator Support Support for typescript generators * Tabs -> spaces * Changes From Tim's Feedback
17 lines
412 B
TypeScript
17 lines
412 B
TypeScript
import {Page, NavController} from 'ionic-angular';
|
|
|
|
/*
|
|
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(public nav: NavController) {
|
|
this.nav = nav;
|
|
}
|
|
}
|