Skip to content
Snippets Groups Projects
controllers.js 454 B

angular.module('cesium.controllers', [
    'cesium.home.controllers',
    'cesium.wallet.controllers',
    'cesium.currency.controllers',
    'cesium.wot.controllers'
  ])

  .config(function($httpProvider) {
    //Enable cross domain calls
   $httpProvider.defaults.useXDomain = true;

    //Remove the header used to identify ajax call  that would prevent CORS from working
    delete $httpProvider.defaults.headers.common['X-Requested-With'];
  })
;