diff --git a/app/scripts/app/app.coffee b/app/scripts/app/app.coffee index 0f45ba2e..5166bfbb 100644 --- a/app/scripts/app/app.coffee +++ b/app/scripts/app/app.coffee @@ -9,8 +9,8 @@ module.run [ ] module.config [ - '$locationProvider', '$stateProvider', '$dialogProvider', 'AngularyticsProvider', '$httpProvider' - (location, state, $dialogProvider, analytics, $httpProvider) -> + '$locationProvider', '$stateProvider', '$dialogProvider', 'AngularyticsProvider', '$httpProvider', '$sceDelegateProvider' + (location, state, $dialogProvider, analytics, $httpProvider, $sceDelegateProvider) -> $httpProvider.interceptors.push [ -> @@ -20,6 +20,11 @@ module.config [ return config ] + $sceDelegateProvider.resourceUrlWhitelist [ + 'self', + '/templates/directives/*' + ] + analytics.setEventHandlers ['Google'] # Errors