Merge pull request #19708 from J0WI/patch-1
[civicrm-core.git] / ang / crmApp.js
index c7bb81e29bc9ad1a090e9a020b0f4ad189885156..e3baceb971a6618ba84bcea245725811ffdbaba1 100644 (file)
@@ -3,6 +3,12 @@
   // crmApp should not provide any significant services, and no other
   // modules should depend on it.
   var crmApp = angular.module('crmApp', CRM.angular.modules);
+
+  // dev/core#1818 use angular 1.5 default of # instead of 1.6+ default of #!
+  crmApp.config(['$locationProvider', function($locationProvider) {
+    $locationProvider.hashPrefix("");
+  }]);
+
   crmApp.config(['$routeProvider',
     function($routeProvider) {