I'm sorry not good at English well, please understand the subject is not good.
I am creating a SPA with angular.js.
I want to change or append view by path using ng-route.
For example,
<div id="topMenu" ng-controller="MainMenuController as mainMenuCtrl">
<a href="#/menu1" ng-show="menuSelected('menu1')">menu1</a>
<a href="#/menu2" ng-show="menuSelected('menu2')">menu2</a></div>
<div>
<div id="leftMenu"><!-- Sub menus for each main menu. path= #/(menu1|menu2) --></div>
<div id="content"><!-- Contents for each submenus path= #/(menu1|menu2)/{someSubMenu}/{contentName}--></div>
When the select top menu, then leftMenu shuld be changed.
And I access the link which is #/menu1/someContent
then leftMenu and content should be changed.
What I have to do implementing these process?