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

<ion-content class="ion-padding">
  <h1>Welcome to Tab1</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/nested/1" id="goto-tab1-page2">Go to Page 2</ion-button>
    <ion-button routerLink="/tabs/account/nested/1" [queryParams]="{search:'hello'}" fragment="fragment"
      id="goto-nested-page1-with-query-params">Go to Page 2 with Query Params</ion-button>
    <ion-button routerLink="/tabs/lazy/nested" id="goto-tab3-page2">Go to Tab 3 - Page 2</ion-button>
    <ion-button routerLink="/nested-outlet/page" id="goto-nested-page1">Go to nested</ion-button>
  </p>
</ion-content>
