{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/10967","labels_url":"https://api.github.com/repos/angular/angular.js/issues/10967/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/10967/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/10967/events","html_url":"https://github.com/angular/angular.js/issues/10967","id":56547603,"number":10967,"title":"Angular fails to instantiate module ngLocale in tests after upgrade to 1.3.12 ","user":{"login":"nadavsinai","id":2870816,"avatar_url":"https://avatars.githubusercontent.com/u/2870816?v=3","gravatar_id":"","url":"https://api.github.com/users/nadavsinai","html_url":"https://github.com/nadavsinai","followers_url":"https://api.github.com/users/nadavsinai/followers","following_url":"https://api.github.com/users/nadavsinai/following{/other_user}","gists_url":"https://api.github.com/users/nadavsinai/gists{/gist_id}","starred_url":"https://api.github.com/users/nadavsinai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadavsinai/subscriptions","organizations_url":"https://api.github.com/users/nadavsinai/orgs","repos_url":"https://api.github.com/users/nadavsinai/repos","events_url":"https://api.github.com/users/nadavsinai/events{/privacy}","received_events_url":"https://api.github.com/users/nadavsinai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-04T16:11:05Z","updated_at":"2015-02-04T18:51:39Z","closed_at":null,"body":"In our CI the tests failed, I tried to reproduce locally and could not until I removed our bower libs and reinstalled. (we were asking for ~1.3).\r\nI played with bower.json angular versions and found that 1.3.11 works and 1.3.12 fails.\r\n\r\nthe code that breaks our app is found in commit 6ec5946094ee92b820bbacc886fa2367715e60b4\r\n\r\nline 2138 in angular-mocks.js\r\n\r\n     Error: [$injector:modulerr] Failed to instantiate module ng due to:\r\n      Error: [$injector:modulerr] Failed to instantiate module ngLocale due to:\r\n      TypeError: 'undefined' is not an object (evaluating 'annotatedFunctions.push')\r\n      at /Volumes/OSxData/websites/startapp/portal/public/lib/angular-mocks/angular-mocks.js:2145\r\n      at invoke (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4163)\r\n      at instantiate (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4193)\r\n      at provider (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4028)\r\n      at /Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4020\r\n      at runInvokeQueue (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4091)\r\n      at /Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4099\r\n      at forEach (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:323)\r\n      at loadModules (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4123)\r\n      at /Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4098\r\n      at forEach (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:323)\r\n      at loadModules (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4123)\r\n      at createInjector (/Volumes/OSxData/websites/startapp/portal/public/lib/angular/angular.js:4007)\r\n      at /Volumes/OSxData/websites/startapp/portal/public/lib/sinon-ng/sinon-ng.js:4\r\n      at /Volumes/OSxData/websites/startapp/portal/public/lib/sinon-ng/sinon-ng.js:30\r\n\r\nthis occurs in angular-mocks therefore relevant only in testing environment\r\n\r\n**Reproducable**: always\r\n**Browsers** : Chrome 40, Phantom JS\r\n**Operating system**: OSX 10.10, Ubuntu 14, Fedora 20"},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/72914331","html_url":"https://github.com/angular/angular.js/issues/10967#issuecomment-72914331","issue_url":"https://api.github.com/repos/angular/angular.js/issues/10967","id":72914331,"user":{"login":"kuoloneous","id":2560423,"avatar_url":"https://avatars.githubusercontent.com/u/2560423?v=3","gravatar_id":"","url":"https://api.github.com/users/kuoloneous","html_url":"https://github.com/kuoloneous","followers_url":"https://api.github.com/users/kuoloneous/followers","following_url":"https://api.github.com/users/kuoloneous/following{/other_user}","gists_url":"https://api.github.com/users/kuoloneous/gists{/gist_id}","starred_url":"https://api.github.com/users/kuoloneous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuoloneous/subscriptions","organizations_url":"https://api.github.com/users/kuoloneous/orgs","repos_url":"https://api.github.com/users/kuoloneous/repos","events_url":"https://api.github.com/users/kuoloneous/events{/privacy}","received_events_url":"https://api.github.com/users/kuoloneous/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T18:51:39Z","updated_at":"2015-02-04T18:51:39Z","body":"Also having the same issue."}}