I have two views in ionic app
1.Login view
2.Dashboard view
When the app is on user is navigated to login screen and go to dashboard, in the login view i’ve disabled the sidemenu using the following method
hide-nav-bar="true"
The problem when user is navigated to dashboard view an extra backbutton icon isshown along with the sidemenu icon
So how can i remove the that backbutton
menu.html
<ion-side-menus enable-menu-with-back-views="true">
<ion-side-menu-content>
<ion-nav-bar class="bar-light">
-----
</ion-content>
</ion-side-menu>
</ion-side-menus>
Login.html
<ion-view view-title="Login" hide-nav-bar="true">
<ion-content>
------
</ion-content>
</ion-view>
Logincontroller
$scope.doLogin=function(){
//after successfull login
$state.go('app.home');
}