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.0.0 | app/assets/javascripts/oxymoron/config/http.js |