This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
JSONP Callback function $http #1551
Closed
Description
Hi i'am quite new in angular.
I'am triying to use the $http module for xhr request.
However, the callback name must be "JSONP_CALLBACK" in which angular will turn the callback name to callback=angular.callbacks._1
There's some web web service which cannot accept "angular.callbacks._1 "callback name, for example
http://dev.markitondemand.com/Api/Lookup/jsonp?input=GM&callback=callback=angular.callbacks._1
i solve this with a messy hack found on stackoverflow