Here is the code snippet that I am working with:
var url = 'http://someURL?arg1=test&arg2=test&callback=JSON_CALLBACK';
$http.jsonp(url)
.success(function(data){
console.log(data.found);
});
Despite receiving a status code of 200 ok, I am unable to pinpoint any issues with the response data. I can view the data on the network tab of chrome without any problems.
Below is the response that I am receiving:
[{"card_token":"D233B338C5154BA989FBBF88ECBFFE4C","cc_last_four":"1732","cc_type":"MasterCard","id":451,"site_id":602,"updated_at":"2016-01-23T11:24:58-05:00"}]
I am puzzled by what could be causing the problem in this scenario.