We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 510da16 commit 2d5f25aCopy full SHA for 2d5f25a
1 file changed
javascript/new-src/src/app.js
@@ -20,6 +20,15 @@
20
/* global angular */
21
var ola = angular.module('olaApp', ['ngRoute']);
22
23
+// AngularJS 1.6 now uses an '!' as the default hashPrefix, breaking
24
+// our routes. Following lines revert the default to the previous empty
25
+// string.
26
+// See https://docs.angularjs.org/guide/migration#commit-aa077e8
27
+ola.config(['$locationProvider', function($locationProvider) {
28
+ 'use strict';
29
+ $locationProvider.hashPrefix('');
30
+}]);
31
+
32
ola.config(['$routeProvider',
33
function($routeProvider) {
34
'use strict';
0 commit comments