my base URL :- http://localhost:8080/App/#/ , let us say I am at
http://localhost:8090/App/#/page1. Now when I change this URL from the URL bar directly by deleting the page1 and pressing the enter key, I observed that, in the network section all the controller/directive/service js files does not loads and because of that variables and objects does not gets reset and the application gives inconsistent result.
What I want is when ever user navigates to the base url not just by $location.path('/') but also by manipulating the URL from the URL bar page refresh should happen just in the same way when first time we run the application.
How can I achieve this??
Any help is appreciated. Thanks