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 [ module.config [
'$locationProvider', '$stateProvider', '$dialogProvider', 'AngularyticsProvider', '$httpProvider' '$locationProvider', '$stateProvider', '$dialogProvider', 'AngularyticsProvider', '$httpProvider', '$sceDelegateProvider'
(location, state, $dialogProvider, analytics, $httpProvider) -> (location, state, $dialogProvider, analytics, $httpProvider, $sceDelegateProvider) ->
$httpProvider.interceptors.push [ $httpProvider.interceptors.push [
-> ->
@ -20,6 +20,11 @@ module.config [
return config return config
] ]
$sceDelegateProvider.resourceUrlWhitelist [
'self',
'/templates/directives/*'
]
analytics.setEventHandlers ['Google'] analytics.setEventHandlers ['Google']
# Errors # Errors