Improve compatibility with the stock $locationProvider.
Improve compatibility with the stock $locationProvider.

The normal provider's html5Mode method supports chaining, and the provider
also has a method called hashPrefix.

tranphuoctien/angularjs-server,saymedia/angularjs-server,fusikky/angularjs-server