title: How to get current page from Navigation in ionic 2
body: <p>I am new to Ionic2, and I am trying to build dynamic tabs based on current menu selection. I am just wondering how can I get current page using navigation controller. </p>
  
  <pre><code>...
  export class TabsPage {
    constructor(navParams: NavParams,navCtrl:NavController) {
      //here I want to get current page
   }
  }
  ...
  </code></pre>
  
  <p>From api documentation I feel <code>getActiveChildNav()</code> or <code>getActive()</code> will give me the current page, but I have no knowledge on <code>ViewController</code>/<code>Nav</code>. </p>
  
  <p>Any help will be appreciated. Thanks in advance.</p>