Conditionally hide back button

How can I hide the back button only if the previous page is the login page? using nav-router

-Tim

I’m also interested in this question. Is there a way for a user to click a “home” button and not have the back button on the home screen? Or alway hide the back button on the home screen?

Always hiding the back button on any particular view is easily done with:

<ion-view title="navTitle" left-buttons="leftButtons" right-buttons="rightButtons" hide-back-button="true">

I saw that but how do I hide the back button in one view only sometimes?

Like this : http://codepen.io/calendee/pen/eusfl

This demonstrates showing the back button (for page 2) every other time the page is visited.