mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 22:47:59 +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 [
|
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
|
||||||
|
|
Loading…
Reference in a new issue