Get current page/ view name in RC0 returns "t"

I wish to handle the hardware back button for that i need to get the name of the current view.
I am using the tabs template and trying to get the current tab name doing the following

       console.log(this.nav.getActive());
       console.log(this.navCtrl.getActive().component.name);

This just returns the letter t on the device but does work in the browser.

Kindly let me know as to how can I get the page/tab/view name on the device for handling back button

2 Likes