Open new window in Ionic sidemenu app without back button


#1

Hi to everyone, i have a big problem. I’m working on a side menu app, and i need to open another view from another view. I tried to use $state.go and $location.go but when i open a window, this window have the back button of the navigation bar. I want the window will open like when i click on a item on my menu, so with the sidemenu icon on left of the nav-bar. What is the method to open a new window?


#2

Try this

$ionicViewService.nextViewOptions({
disableBack: true
});

$state.go(‘app.yourState’);