How can set the side menu buttons and back-button in ionic version 1.3.2


I’m trying to set my app header with side menus and back button but failed. I want to show left and right menu buttons on all pages exclude only one page where I want to show back button instead of left menu button. I have tried ng-show/hide, ng-if but not working after latest update of ionic version 1.3.2. Before it, ng-if was working fine. After update, I’m using the enable-menu-with-back-views=“true” for show side-menu buttons on all pages.

Have any idea how can I handle these issues? Thanks for help in advance.


<ion-side-menus enable-menu-with-back-views="true">
	<ion-side-menu-content edge-drag-threshold="true" drag-content="true">
		<ion-nav-bar class="bar-stable nav-title-slide-ios7">
			<ion-nav-back-button ng-if="" class="button-clear">
				<i class="icon ion-ios7-arrow-back"></i>
			<ion-nav-buttons ng-if="" side="left">
				<button menu-toggle="left" class="button button-icon button-clear ion-navicon"></button>
			<ion-nav-buttons side="right">
				<button menu-toggle="right" class="button button-icon">
					<i class="icon ion-gear-b"></i>
					<img src="img/logo.jpg"/>
			<ion-nav-view name="menuContent"></ion-nav-view>
	<ion-side-menu side="left">......
	<ion-side-menu side="right">......

In each controller, I’m calling on following method of main controller for set value for either show left menu or back button.


$scope.showMenu = function(value){
	$ = value;