{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/14551","repository_url":"https://api.github.com/repos/angular/angular.js","labels_url":"https://api.github.com/repos/angular/angular.js/issues/14551/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/14551/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/14551/events","html_url":"https://github.com/angular/angular.js/issues/14551","id":152590288,"number":14551,"title":"$http eventHandlers with angular-mocks.js (1.5.5)","user":{"login":"jgalrito-i9","id":15655550,"avatar_url":"https://avatars.githubusercontent.com/u/15655550?v=3","gravatar_id":"","url":"https://api.github.com/users/jgalrito-i9","html_url":"https://github.com/jgalrito-i9","followers_url":"https://api.github.com/users/jgalrito-i9/followers","following_url":"https://api.github.com/users/jgalrito-i9/following{/other_user}","gists_url":"https://api.github.com/users/jgalrito-i9/gists{/gist_id}","starred_url":"https://api.github.com/users/jgalrito-i9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgalrito-i9/subscriptions","organizations_url":"https://api.github.com/users/jgalrito-i9/orgs","repos_url":"https://api.github.com/users/jgalrito-i9/repos","events_url":"https://api.github.com/users/jgalrito-i9/events{/privacy}","received_events_url":"https://api.github.com/users/jgalrito-i9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-02T16:32:37Z","updated_at":"2016-05-02T16:32:37Z","closed_at":null,"body":"***Note*: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.**\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nBug\r\n\r\n**What is the current behavior?**\r\nEvent handlers are not being called when using angular-mocks.js\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).**\r\n    $http({\r\n        method: 'get',\r\n        url: ...,\r\n        eventHandlers: {\r\n            progress: function(e) { console.log(e); }\r\n        }\r\n    });\r\n\r\n**What is the expected behavior?**\r\nEvent handlers should be called.\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\nNeeding to track the progress on a request.\r\n\r\n**Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.**\r\nversion 1.5.5, tested on Chrome 50.0.2661.87"}}