Files
Adam Bradley aa4efdd12a nav progress
2015-05-12 22:55:16 -05:00

23 lines
483 B
JavaScript

import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
import {View} from 'angular2/src/core/annotations_impl/view';
import {NavController} from 'ionic/ionic'
import {SecondPage} from './second-page'
@Component({selector: 'ion-view'})
@View({
templateUrl: 'pages/first-page.html'
})
export class FirstPage {
constructor(
nav: NavController
) {
this.nav = nav;
}
push() {
this.nav.push(SecondPage, { animation: 'none' });
}
}