import { Component } from '@angular/core' ; import { IonicPage , NavController , NavParams } from '../../../../../../..' ; @ IonicPage ( { segment : 'pageThree/paramOne/:paramOne/paramTwo/:paramTwo' , defaultHistory : [ 'FirstPage' ] } ) @ Component ( { templateUrl : 'third-page.html' } ) export class ThirdPage { paramOne : string ; paramTwo : string ; constructor ( public nav , public params ) { } ionViewWillEnter ( ) { this . paramOne = this . params . data . paramOne ; this . paramTwo = this . params . data . paramTwo ; } }