AngularJS routing to HTML5 mode and configured server rewrites