I have a simple angular JS app in which there is a main container html view page, a left menu for navigation between views.
 //Left panel menu links
 <li><a href ng-click="vm.showPanel('View1')">View1</a></li>
 <li><a href ng-click="vm.showPanel('View2')">View2</a></li>
 <li><a href ng-click="vm.showPanel('View3')">View3</a></li>
  //JS function to load view
  vm.showPanel = function (panelName) {
hideAllPanels();
if (panelName == 'View1') {
        vm.isView1Visible = true;
   }
}
The above is working fine, now what I want to do is add a button in View1.html called "Next" which will load next view that is view2.html & so on. Please note both view1.html % view2.html are within a container html page. Can anyone show me what is the angular way of doing this?
Regards



