Sha256: cfdb4ec6e832f3fa5f943309bd1a8d19831bc7d67caccd5b88af7caf96fe567f

Contents?: true

Size: 399 Bytes

Versions: 21

Compression:

Stored size: 399 Bytes

Contents

angular.module("oxymoron.config.http", [])
  .config(['$httpProvider', '$locationProvider', '$stateProvider', function($httpProvider, $locationProvider, $stateProvider) {
    /*
     *  Set token for AngularJS ajax methods
    */
    $httpProvider.defaults.headers.common['X-Requested-With'] = 'AngularXMLHttpRequest';
    $httpProvider.defaults.paramSerializer = '$httpParamSerializerJQLike';
  }])

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
oxymoron-1.2.8 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.7 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.6 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.5 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.4 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.3 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.2 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.1 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.2.0 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.1.9 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.10 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.9 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.8 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.7 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.6 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.5 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.4 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.3 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.2 app/assets/javascripts/oxymoron/config/http.js
oxymoron-1.0.1 app/assets/javascripts/oxymoron/config/http.js