I hereby claim:
- I am jayrmotta on github.
- I am jayrmotta (https://keybase.io/jayrmotta) on keybase.
- I have a public key ASCnCgEWWDQf4PLFLw09phEo0hnLHpgEPAPvCL3inll1fQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$httpProvider.defaults.transformResponse.splice(0, 0, function(data, headersGetter) { | |
if (data && headersGetter()['content-type'] === 'application/json') { | |
return JSOG.parse(data); | |
} | |
return data; | |
}); |