title: how we can get the current page from app.component in ionic 4?
body: <p>i am trying to get current page instance in app.component in ionic 4. </p>
  
  <p>in ionic 3 i can do it like this</p>
  
  <p><strong>this.nav.getActive().instance</strong></p>