I'm trying to get an RSS response using $http and I keep getting the following error:
Uncaught SyntaxError: Unexpected token <
The code that tries to get it is:
$http({
method: 'jsonp',
url: url,
params: {
format: 'jsonp',
callback: 'JSON_CALLBACK'
}
}).success(function (response) {
myData = response;
});