Skip to content

Commit

Permalink
https://github.com/angular-ui/ui-router/issues/2889
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Dutoit committed Nov 6, 2017
1 parent 550f2ac commit 212279d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/WEB-INF/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ var copperApp = angular.module('copperApp', [
'ui.bootstrap',
'chart.js'
])
.config(['$routeProvider', '$httpProvider', '$locationProvider', function($routeProvider, $httpProvider, $locationProvider) {
.config(['$routeProvider', '$httpProvider', '$locationProvider', '$qProvider', function($routeProvider, $httpProvider, $locationProvider, $qProvider) {
$routeProvider
.when('/help', {
templateUrl: 'app/views/help.html'
})
.otherwise({redirectTo: '/overview'});
$locationProvider.hashPrefix('');
$qProvider.errorOnUnhandledRejections(false); // https://github.com/angular-ui/ui-router/issues/2889
}])
.filter('trusted', ['$sce', function($sce){
return function(text) {
Expand Down

0 comments on commit 212279d

Please sign in to comment.