Fix sceDelegateProvider error

This commit is contained in:
Kelvin 2015-06-14 15:27:56 +01:00
parent ab15a3f4de
commit b98dc617e6

View file

@ -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