Remove the angular 1.6 hashPrefix

Angular 1.6 set the hashPrefix to '!', breaking all old URLs. This
reverts it to the previous Angular 1.5 behavior.

Change-Id: I431ebbe820c764e017870ae4c156275740341bc4
This commit is contained in:
Tim Buckley 2017-02-07 13:57:13 -07:00
parent 8f44e241b0
commit 6d0ec590dd
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
*/
function OnConfig($stateProvider, $locationProvider, $urlRouterProvider, $sceDelegateProvider) {
$sceDelegateProvider.resourceUrlWhitelist(['self','http://health.openstack.org/**']);
$locationProvider.hashPrefix('');
$stateProvider
.state('home', {