angular/angular.js — pull request #2503 by dbinit (2013-04-24 18:33:47+00:00)
Title: fix($httpBackend): add timeout support for JSONP requests

Documentation implies that timeout works for all requests, though it only works with XHR.

Change $httpBackend to set a timeout for JSONP requests which will immediately resolve the request when fired.

Completed requests will cancel the timeout.