import { Component } from '@angular/core' ; import { NavController , NavParams } from 'ionic-angular' ; import { SessionDetailPage } from '../session-detail/session-detail' ; @ Component ( { templateUrl : 'build/pages/speaker-detail/speaker-detail.html' } ) export class SpeakerDetailPage { speaker : any ; constructor ( public navCtrl , public navParams ) { this . speaker = this . navParams . data ; } goToSessionDetail ( session ) { this . navCtrl . push ( SessionDetailPage , session ) ; } }