Support for AngularJS $location HTML5 mode