title: Navigate to page and highlight menu item when navigating from home page
body: <p>I'm currently creating a app with Ionic 2+ and Angular 2. It is currently working great but i have some trouble with navigating and highlighting menu items.
  I have a contact button on the homepage of my app (home.html and home.ts)</p>
  
  <p><a href="https://i.stack.imgur.com/TkHnb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TkHnb.png" alt="Contact button on homepage"></a></p>
  
  <p>I can navigate to the correct page using: </p>
  
  <pre><code>this.navCtrl.root(ContactPage)
  </code></pre>
  
  <p>but the page <strong>isn't</strong> highlighted in the menu like this (when i navigate from the sidemenu):</p>
  
  <p><a href="https://i.stack.imgur.com/ynrtx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ynrtx.png" alt="Side menu highlighted"></a></p>
  
  <p>I have a activePage param in my app.component.ts where the active page is set when i click on a sidemenu item. This param is checked when loading in the menu by loading in a style when its true:</p>
  
  <pre><code>isActive(page: PageInterface){
      if(this.activePage == page)
      {
        return true
      }
  }
  </code></pre>
  
  <p>I don't know how i can set this parameter in app.component.ts from home.ts when i click the button on my homepage.</p>
  
  <p>Does anyone have a tip or trick to get me in the right direction.</p>
  
  <p>More code:</p>
  
  <p>Example of how i generate the menu item:</p>
  
  <pre><code>&lt;ion-item [class.activeItem]="isActive(p)" no-lines *ngFor="let p of MiscPages" (click)="openPage(p)"&gt;
  </code></pre>
  
  <p>app.component.ts structure of the pages list:</p>
  
  <pre><code>this.MiscPages = [
    { title: 'MENU.INFO_BTN', name: 'Information', component: InformationPage, icon: 'ios-information-circle' },
    { title: 'MENU.CONTACT_BTN', name: 'Contact', component: ContactPage, icon: 'ios-paper-plane' },
    { title: 'MENU.SETTINGS_BTN', name: 'Settings', component: SettingsPage, icon: 'ios-settings' }
  ]
  </code></pre>