hazaveh.net
Disable sidemenu in specific pages ionic 2 framework | Mahdi Hazaveh
I'm not sure whether its me or it feels for everyone the same that ionic 2 is pretty different from the first one, thus none of those tutorials online are applicable to problems you are sarching for. Anyway straight to the point I'm going to show you how to disable the side menu (any menu also will work) on specific pages. Lets say in my Case I had a login screen which I did not want the menu to be at. First thing first is to open your app.html file. where the menu is actually included. Find the opening tag for the menu. So you should be having something like: [crayon-5c429d4e8ff51413052538/] Add an id to your menu so it will be something like this: [crayon-5c429d4e8ff65495394455/] Alright not we have to make changes to the javascript file of our page. let say my page name is login and the javascript file is called login.js. What you should do is to import "MenuController" from "ionic-angular" package. The NavbarController Should Already be imported, so you can just call in