Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add injection for in PersonaInterceptorService. This way minified app…
Browse files Browse the repository at this point in the history
…lication will not throw any errors in console.
  • Loading branch information
karelhala committed Nov 6, 2015
1 parent 176745c commit 6e67032
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module HawkularAccounts {
_module.config(['$httpProvider', 'HawtioNavBuilderProvider', '$routeProvider',
($httpProvider:ng.IHttpProvider, builder:HawtioMainNav.BuilderFactory, $routeProvider) => {

$httpProvider.interceptors.push(PersonaInterceptorService.Factory);
$httpProvider.interceptors.push(['$q',PersonaInterceptorService.Factory]);

$routeProvider
.when(
Expand Down

0 comments on commit 6e67032

Please sign in to comment.