Skip to content
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
Closed
@todiadiyatmo

Description

@todiadiyatmo

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

http://jsfiddle.net/pMGgR/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions