<ion-header>
  <ion-toolbar>
    <ion-title>{{title}}</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content class="ion-padding">
  <h1>Welcome to Tab 2</h1>
  <ion-segment [(ngModel)]="segment" (ionChange)="segmentChanged($event)">
    <ion-segment-button value="one">One</ion-segment-button>
    <ion-segment-button value="two">Two</ion-segment-button>
  </ion-segment>
  <p>
    Segment changed: <span class="segment-changed">{{changed}}</span>
  </p>
  <p>
    <ion-button routerLink="/tabs/account" id="goto-tab1-page1">Go to Tab 1 - Page 1</ion-button>
    <ion-button routerLink="/tabs/account/nested/1" id="goto-tab1-page2">Go to Tab 1 - Page 2</ion-button>
    <ion-button routerLink="/nested-outlet/page" id="goto-nested-page1">Go to nested</ion-button>
  </p>
</ion-content>
