I would like to do this post call using jsonp in angularJs.
JQ.ajax({
type: 'POST',
url: '',
data: '',
dataType: 'json',
contentType: "application/json; charset=utf-8",
success: function(data) {},
error: function(error) {}
});
Somebody can help me to do this? Thanks a lot!!!