Hi I am using Angular JS for my Front End, php is the Service layer.
I am trying to remove the # from my url.
Now : http://localhost/loginwithangular/#/login
I want look like : http://localhost/loginwithangular/login
I tried : $locationProvider.html5Mode(true);but it is not working.
Could you please some one suggest how to make it work.
Thanks in advance !
<base href="/" />
inside<head></head>
taghttp://localhost/loginwithangular
is this you base URL ? i mean your whole website running inside thehttp://localhost/loginwithangular
?<base href="/loginwithangular/index.html" />
or<base href="/loginwithangular/" />