How to switch the views from a controller function in AngularJS?

Posted by Jennifer | Updated on

If you want to switch the views from a controller function in AngularJS? In order to switch between different views, you could directly change the window.location (using the $location service!) in index.html file

Controller.js


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers