text: var horizon_dependencies=['hz.conf','hz.utils','ngCookies'];dependencies=horizon_dependencies.concat(angularModuleExtension);var horizonApp=angular.module('hz',dependencies).config(['$interpolateProvider','$httpProvider',function($interpolateProvider,$httpProvider){$interpolateProvider.startSymbol('{$');$interpolateProvider.endSymbol('$}');$httpProvider.defaults.xsrfHeaderName='X-CSRFToken';$httpProvider.defaults.xsrfCookieName='csrftoken';$httpProvider.defaults.headers.common['X-Requested-With']='XMLHttpRequest';}]).run(['hzConfig','hzUtils','$cookieStore',function(hzConfig,hzUtils,$cookieStore){horizon.conf=hzConfig;horizon.utils=hzUtils;angular.extend(horizon.cookies={},$cookieStore);horizon.cookies.put=function(key,value){angular.element('body').scope().$apply(function(){$cookieStore.put(key,value);});};}]);