In my application I have the main content area and an offscreen navigation. The mainscreen view is populated via the ui-view directive in angular. I want my offscreen navigation to also populate via a ui-view directive. I don't want this to be a nested view, I want this view to display content unique from the root view but based on the same route. Something like this:
<body>
<ui-view="root"></ui-view> <!-- Main page view is here -->
<div id="OffscreenMenu">
<ui-view="menu"></ui-view> <!-- This content will change each time the url changes -->
</div>
</body>
So then what I want is to not define multiple states but to have one state which will display two different templates to each view.
I can't find any way that this is possible. I have search through the documentation but all I can find is information about nested views. Thanks in advance.