title: ionic using get previous page name
body: <p>I am using ionic 2.</p>
  
  <p>I need get previous page name.</p>
  
  <p>here is my code.</p>
  
  <pre><code> @ViewChild(Nav) nav:Nav
    constructor() {
      this.nav_app.viewDidEnter.subscribe(
        view =&gt; console.log("Current opened view is : " + view.name);
      )
    }
  </code></pre>
  
  <p>still i am getting </p>
  
  <pre><code>Current opened view is : t
  </code></pre>
  
  <p>How can i get previous page name.</p>
  
  <p>Kindly advice me,</p>
  
  <p>Thanks</p>