How to hide nav-bar with tabs in Ionic 2?

From a tab page you can do:

[code type=javascript]this.nav.parent.parent.setRoot(LoginPage);

Before:

Nav -> Tabs -> somepage

After:

Nav -> LoginPage

Nav is the root of all nav stacks in Ionic 2.

Referência