mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Fix sceDelegateProvider error
This commit is contained in:
parent
ab15a3f4de
commit
b98dc617e6
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue