Whenever I make a webapp and I get a CORS problem, I start making coffee. After screwing with it for a while I manage to get it working but this time it\'s not and I need he
I have found a way to use JSONP method in $http directly and with support of params in the config object:
JSONP
$http
params
params = { 'a': b, 'callback': 'JSON_CALLBACK' }; $http({ url: url, method: 'JSONP', params: params })