Angular: Remove the hashtag

Angular Logo

After setting up a Yeoman base for an AngularJS project, I noticed the hashtag (# symbol) appended to the urls.

Hashtag

It seems it easy to get rid of them. All we need to do is configure $locationProvider and set html5Mode to true:

regards

======================================================================

Published: February 16 2015

See an error in this post? Please submit a PR on Github.