Login Screen and forgot password screen before sidemenu


Am trying to put login screen with forgot password link before showing sidemenu. Am referencing http://codepen.io/redconsulting/pen/uxoif this codepen. Its working fine ( Login screen is shown before sidemenu). If I navigate from login screen to forgot password screen using forgot password link, it shows forgot password screen but without back button. How can I have this back button to login screen??

By searching for sometime and comparing both demoes I found the solution. you need to put
<ion-nav-bar class="bar-stable"> <ion-nav-back-button> </ion-nav-back-button> </ion-nav-bar> just after the body tag and before
<ion-nav-view></ion-nav-view> tag.