[JSONP](http://en.wikipedia.org/wiki/JSONP) is a way to get data across domains by inserting a script tag. client app inserts this into DOM ``` <script src="https://status.github.com/api/status.json?callback=apiStatus"></script> ``` it also publishes `apiStatus` ``` window.apiStatus = function(data) { ... } ``` The server then responds with: ``` apiStatus({"Name": "Foo", "Id": 1234, "Rank": 7}); ``` Because Script tag gets inserted there is a async side-effect which will escape the zone.
Activity
petebacondarwin commentedon Feb 20, 2015
If we have control over the callback then the zone can be set up there right?
btford commentedon Feb 20, 2015
@petebacondarwin – yes, but that would mean that you can't drop in your favorite library and have it "just work"
mhevery commentedon Feb 20, 2015
@btford do you have idea of how this could be intercepted?
btford commentedon Feb 20, 2015
I'm trying a few approaches now.
mhevery commentedon Nov 3, 2020
Will not fix, as not feasible.
angular-automatic-lock-bot commentedon Dec 4, 2020
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.