import {Component, View} from 'angular2/angular2' import {NavPane} from 'ionic/ionic' @Component({ selector: 'privacy-settings' }) @View({ template: ` Privacy `, directives: [] }) export class PrivacyPage { constructor(navPane: NavPane) { this.navPane = navPane } next() { this.navPane.push(PrivacyP1) } } @Component({ selector: 'privp1' }) @View({ template: ` This is page 1

`, directives: [] }) class PrivacyP1 { constructor(navPane: NavPane) { this.navPane = navPane } next() { this.navPane.push(PrivacyP2) } pop() { this.navPane.pop() } } @Component({ selector: 'privp2' }) @View({ template: ` Page 2 here

`, directives: [] }) class PrivacyP2 { constructor(navPane: NavPane) { this.navPane = navPane } pop() { this.navPane.pop() } }