{"action":"created","issue":{"url":"https://api.github.com/repos/jpillora/xdomain/issues/151","labels_url":"https://api.github.com/repos/jpillora/xdomain/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/jpillora/xdomain/issues/151/comments","events_url":"https://api.github.com/repos/jpillora/xdomain/issues/151/events","html_url":"https://github.com/jpillora/xdomain/issues/151","id":80438169,"number":151,"title":"ng-file-upload compatibility (ie8/9)","user":{"login":"undeidentity","id":10385786,"avatar_url":"https://avatars.githubusercontent.com/u/10385786?v=3","gravatar_id":"","url":"https://api.github.com/users/undeidentity","html_url":"https://github.com/undeidentity","followers_url":"https://api.github.com/users/undeidentity/followers","following_url":"https://api.github.com/users/undeidentity/following{/other_user}","gists_url":"https://api.github.com/users/undeidentity/gists{/gist_id}","starred_url":"https://api.github.com/users/undeidentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undeidentity/subscriptions","organizations_url":"https://api.github.com/users/undeidentity/orgs","repos_url":"https://api.github.com/users/undeidentity/repos","events_url":"https://api.github.com/users/undeidentity/events{/privacy}","received_events_url":"https://api.github.com/users/undeidentity/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T07:51:19Z","updated_at":"2015-05-29T16:45:05Z","closed_at":"2015-05-29T16:45:05Z","body":"Hi jpillora.\r\nI am planning to use xdomain and ng-file-upload \r\nThe problem is both plugin modify XHR object(or something like that) so they have conflict.\r\nThe file loads libraries in [xdomain.js -> ng-file-upload-shim.js -> angular.js -> ng-file-upload.js] order.\r\nIs there any way to use them in the same time?\r\nDEMO : http://swb4u2.cafe24.com/xngf/test.html\r\nI know there is another solution (https://github.com/jpillora/xdomain/issues/74) but it's not proper to me.\r\n\r\nxdomain issues\r\nhttps://github.com/danialfarid/ng-file-upload/issues/218\r\nhttps://github.com/danialfarid/ng-file-upload/issues/113\r\n\r\nng-file-upload side issue\r\nhttps://github.com/danialfarid/ng-file-upload/issues/760\r\n\r\nthanks!"},"comment":{"url":"https://api.github.com/repos/jpillora/xdomain/issues/comments/106868189","html_url":"https://github.com/jpillora/xdomain/issues/151#issuecomment-106868189","issue_url":"https://api.github.com/repos/jpillora/xdomain/issues/151","id":106868189,"user":{"login":"jpillora","id":633843,"avatar_url":"https://avatars.githubusercontent.com/u/633843?v=3","gravatar_id":"","url":"https://api.github.com/users/jpillora","html_url":"https://github.com/jpillora","followers_url":"https://api.github.com/users/jpillora/followers","following_url":"https://api.github.com/users/jpillora/following{/other_user}","gists_url":"https://api.github.com/users/jpillora/gists{/gist_id}","starred_url":"https://api.github.com/users/jpillora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpillora/subscriptions","organizations_url":"https://api.github.com/users/jpillora/orgs","repos_url":"https://api.github.com/users/jpillora/repos","events_url":"https://api.github.com/users/jpillora/events{/privacy}","received_events_url":"https://api.github.com/users/jpillora/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T16:45:05Z","updated_at":"2015-05-29T16:45:05Z","body":"This is has come up before, multiple libraries can modify XMLHttpRequest, it just depends what they're doing.\r\n\r\nBasically, here's why this doesn't and won't work: IE89 don't support FormData (XHR2, ajax file uploads) so they must use flash. However, once you use flash, XHook can no longer see the XHR calls, so XDomain won't work.\r\n\r\nInstead of using XDomain, I'd suggest placing a `crossdomain.xml` at the root of the target domain, this should allow the flash portion of ng-file-upload to work. If not, there should be other flash file uploaders you could try."}}