Slide menu wont open after state.go

My app “pages” parts with slide menus but others doesn’t. Sometimes, when the app use $state.go(“menu.page”), the menu doesn’t show. It stop working.

But, if I use $ionicHistory.clearHistory(); before $state.go(“menu.page”), this problem doesn’t occurs.
using: v1.0.0-beta.14 “magnesium-mongoose”

$stateProvider.state('app', {
        url: "/app",
        cache: false,
        abstract: true,
        templateUrl: "templates/menu.html",
        controller: 'HomeCtrl'
    }).state('app.temas', {
        cache: false,
        url: '/temas',
        templateUrl: 'templates/temas.html',
        controller: 'TemasCtrl'
    }).state('app.books', {
        cache: false,
        url: '/books',
        templateUrl: 'templates/books.html',
        controller: 'BooksCtrl'
    }) $urlRouterProvider.otherwise('before');

Have you tried playing with the setting enable-menu-with-back-views?

Reference: http://ionicframework.com/docs/api/directive/ionSideMenus/

I have did it right now. Still doesn’t works. The problem occurs when I navigate for the second time.

enable-menu-with-back-views="true" // and false!

I have fix it wit this:

  $rootScope.go = function(to) {
    $ionicHistory.nextViewOptions({
        disableBack: true
    });
    $state.go(to);   
};