I am using angularjs and it automatically appends
#index.html
to url
http://localhost/index.html
so the path will look like
http://localhost/index.html#/index.html
when i commented the ng-include wrapped <div ng-include="'temp.html'></div>
the url reverted back to
localhost/index.html
but as i uncommented the <div ng-include="'temp.html'></div>
it reverted back to
localhost/index.html#/index.html
so,
- why is it happening ?
- is there a work-around ? so that i can use ng-include and keep the url intact .
Note : I am not using any routing