I just started my first MEAN application build with MEAN.JS. After discovering how mean.js organise the application, I wonder why URLs start with /#!/
.
For example for the login page I would like to have:
http://example.com/login
instead of:
http://example.com/#!/login
So I looked to the Express, and Angular docs and found nothing about it. I also read the full MEAN.JS docs but still found nothing.
On the Angular's modules configuration routes file, URLs are not prefix with #!
:
users.client.routes.js:
...
state('login', {
url: '/login',
templateUrl: 'modules/users/views/authentication/login.client.view.html'
}).
...
So I end up with two questions:
- Why the URLs start like this ? Is there a good practice behind this ?
- If it's not a bad thing, how and where can I change these URLs ?