import { Component } from '@angular/core' ; import { IonicPage , NavController } from '../../../../../..' ; @ IonicPage ( { name : 'tabs-page' } ) @ Component ( { templateUrl : 'tabs-page.html' } ) export class TabsPage { tab1Root = 'tabs-page-one' ; tab2Root = 'page-two' ; tab3Root = 'page-three' ; constructor ( public navCtrl ) { } goBack ( ) { this . navCtrl . pop ( ) ; } }