I did one AngularJs app which was rather complex, with multiple nested tabs, which had multiple nested views & controllers, needed ng-router, and was quite tricky for me to implement, as browser based coding is not my usual thing.
Now I have been asked to code something for a friend. He was to have a column of buttons down the left sized and when a button is clicked the corresponding contents should be shown on the page.
Conceptually, this seems the same as the previous project (although it is not yet clear whether there will be any nesting).
I could just have a single view, with a single controller and several
<div>s which I can
ng-show, but something makes me think that I ought to use multiple views & controllers, although I am not certain.
How should I implement it, and why?
ui-router. It's a component that replace
ng-routerand is made to better handle that.