So I am trying to understand angular's routing/address rewriting behaviour logic when I hit a page's address directly i.e. go to index.html instread of just'/'.
(You might question why I am doing that. Its because I am trying to use Angularjs in an unusual context where hitting the page by its full address directly is unavoidable and when I do that the routing gets weird.)
//If I hit:
http://localhost/
//everything works fine all - address bar rewrites to http://localhost/#/authenticate
//window.location == http://localhost/
//If I hit:
http://localhost/index.html //I know, I know, I need to do it this way
//page address gets re-written as http://localhost/index.html#/index.html
//nothing works fine none of the routing happens
//window.location == http://localhost/index.html
Any insights?