Files
2016-01-04 15:33:15 -05:00

31 lines
406 B
TypeScript

import {App, Page, NavController} from 'ionic/ionic';
@Page({
templateUrl: 'first.html'
})
class FirstPage {
constructor(private _nav: NavController) {
}
goToSecond() {
this._nav.push(SecondPage);
}
}
@Page({
templateUrl: 'second.html'
})
class SecondPage {
}
@App({
template: '<ion-nav [root]="root"></ion-nav>'
})
class E2EApp {
constructor() {
this.root = FirstPage;
}
}