Thursday, 19 January 2017

angularjs - ng-route : How to render layouts by path?

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,









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?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...