I'm currently starting my project with Ionic Starter SideMenu. In my app, I want to move between states while showing the SideMenu. But the state change will not be driven by a menu click, rather a condition in the main controller. This is an example of a state driven from the menu:
.state('app.browse', {
url: "/browse",
views: {
'menuContent': {
templateUrl: "templates/browse.html"
}
}
})
How do I declare a state which will not be clicked from the menu?
Many Thank
Just declare the state in states and don't put a link to that state into the menu.html
If you want to switch to that state use "$state.go("app.browse");"
Enjoy :)