By default AngularJS’
$locationProvider defaults to URLs like:
If in the future you may decide on one of the following:
- Your application’s URLs will should have longevity.
- You may switch from AngularJS to another framework.
- You may render URLs on the server to improve performance, like Twitter.com did.
Then, you should switch to HTML5 routing instead of using the default hash URLs.
Besides, it’s easy and takes 2 minutes.