How to turn off the initialization of the ionic menu?

0

I would like to know how I turn off the Ionic menu startup on a given page, since I do not want the services of it to be enabled as well.

    
asked by anonymous 12.05.2017 / 14:06

1 answer

0

Try something like this:

$ionicHistory.nextViewOptions({
   disableBack: false,
   historyRoot: true
 });

$ionicHistory.clearCache();
$ionicHistory.clearHistory();

$state.go("nhaac.perfil");

Declaring the $ ionicHistory in your controller.

    
12.05.2017 / 14:37