Looking for a solution where my left side menu remains consistent across all states, but each state can have its own optional right side menu with custom content. The current approach involves creating a separate directive for the left side menu that each state must include, resulting in repetitive code and the left side menu reloading between states. Although functional, it's not the most efficient setup.
One intuitive solution would be to have the right side menu nested directly under ion-side-menus rather than within ion-nav-view. However, this approach doesn't work as expected.
ion-side-menus
ion-side-menu-content
ion-nav-view // states want to include their own right side menu
ion-side-menu(side="left")
main-nav
// some-state.jade
some-directive
ion-side-menu(side="right") // side menu is broken because it's nested
Is there a way for a state to control the content within the right side menu if it is a direct child of ion-nav-view?
ion-side-menus
ion-side-menu-content
ion-nav-view
ion-side-menu(side="right")
// side menu content here according to current state...
ion-side-menu(side="left")
main-nav