Hide the menu and the menu button on specific pages

How can i hide the menu and the menu button on specific pages.

hide-nav-bar="true" 

Hides all navigation bar, but i need hide only menu and keep back button.

I have been using the code below to get around this issue. But it seems to me the wrong decision.

<button ng-show="settings.show_menu" menu-toggle="left" class="button button-icon icon ion-navicon"</button>

add <ion-nav-buttons></ion-nav-buttons> inside <ion-view>, then add buttons

<ion-nav-buttons side="left">
		<button class="button button-icon button-clear ion-navicon" ng-click="toggleLeft()">
		</button>
	</ion-nav-buttons>
	<ion-nav-buttons side="right">
		<button class="button button-icon button-clear ion-ios7-search-strong" ng-click="search.show()">
		</button>
	</ion-nav-buttons>
1 Like

In this case i can swipe menu.

I believe that we need a hide-menu parameter. Interesting to hear from developers. I noticed that ionView directive do not have access to sideMenuCtrl, only to navBarCtrl and it’s sad.

See the last entry in this :

You need to use the drag-content directive.

1 Like