{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/10205","labels_url":"https://api.github.com/repos/angular/angular.js/issues/10205/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/10205/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/10205/events","html_url":"https://github.com/angular/angular.js/issues/10205","id":49931136,"number":10205,"title":"ngAnimate cause errors after updating to 1.3 (Cannot read property 'parentNode' of undefined)","user":{"login":"hamfastgamgee","id":1728096,"avatar_url":"https://avatars.githubusercontent.com/u/1728096?v=3","gravatar_id":"","url":"https://api.github.com/users/hamfastgamgee","html_url":"https://github.com/hamfastgamgee","followers_url":"https://api.github.com/users/hamfastgamgee/followers","following_url":"https://api.github.com/users/hamfastgamgee/following{/other_user}","gists_url":"https://api.github.com/users/hamfastgamgee/gists{/gist_id}","starred_url":"https://api.github.com/users/hamfastgamgee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamfastgamgee/subscriptions","organizations_url":"https://api.github.com/users/hamfastgamgee/orgs","repos_url":"https://api.github.com/users/hamfastgamgee/repos","events_url":"https://api.github.com/users/hamfastgamgee/events{/privacy}","received_events_url":"https://api.github.com/users/hamfastgamgee/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20ngAnimate","name":"component: ngAnimate","color":"bfdadc"},{"url":"https://api.github.com/repos/angular/angular.js/labels/needs:%20more%20info","name":"needs: more info","color":"d7eb9f"},{"url":"https://api.github.com/repos/angular/angular.js/labels/type:%20bug","name":"type: bug","color":"000000"}],"state":"closed","locked":false,"assignee":{"login":"matsko","id":93018,"avatar_url":"https://avatars.githubusercontent.com/u/93018?v=3","gravatar_id":"","url":"https://api.github.com/users/matsko","html_url":"https://github.com/matsko","followers_url":"https://api.github.com/users/matsko/followers","following_url":"https://api.github.com/users/matsko/following{/other_user}","gists_url":"https://api.github.com/users/matsko/gists{/gist_id}","starred_url":"https://api.github.com/users/matsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matsko/subscriptions","organizations_url":"https://api.github.com/users/matsko/orgs","repos_url":"https://api.github.com/users/matsko/repos","events_url":"https://api.github.com/users/matsko/events{/privacy}","received_events_url":"https://api.github.com/users/matsko/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/35","html_url":"https://github.com/angular/angular.js/milestones/Purgatory","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/35/labels","id":526241,"number":35,"title":"Purgatory","description":"This milestone is for issues and PRs that weren't accepted yet and we are waiting for more info from the submitter.\r\n\r\nFor issues this typically means that we weren't able to reproduce the issue or we haven't decided yet if a feature request is a good idea at all.\r\n\r\nFor PRs this means that the PR still needs a lot of work and we might not even be interested in merging it because it looks like a non-core feature. We are still waiting for more discussion within the team or more info from the contributor before making the final decision.","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":129,"closed_issues":555,"state":"open","created_at":"2014-01-04T01:20:50Z","updated_at":"2015-12-04T09:53:23Z","due_on":null,"closed_at":null},"comments":42,"created_at":"2014-11-24T19:27:34Z","updated_at":"2015-12-04T13:16:50Z","closed_at":"2015-08-18T00:10:18Z","body":"I think the guy who filed #9953 gave up too easily. :)  I'm seeing the same error message in Angular 1.3.  I'm using a modified version of the angular-ui bootstrap datepicker that uses ng-if to only render the control if it is open, and so I'm reasonably certain the analysis by @caitp in that issue is exactly the problem for me.  If I add the following at line 1201 in angular-animate.js after the call to extractElementNode(), the error message goes away:\r\n\r\n```javascript\r\nif (!elementNode) {\r\n    done();\r\n    return;\r\n}\r\n```\r\n\r\nThere's also a comment by @matsko there about refactoring some code into animationsDisabled() after #8092 is fixed, which it now is, so I'm not sure if there's some more work to be done in that area.\r\n\r\nI have not noticed any consequences to this, since presumably we can't do much to animate a DOM element that isn't there..."},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/161965421","html_url":"https://github.com/angular/angular.js/issues/10205#issuecomment-161965421","issue_url":"https://api.github.com/repos/angular/angular.js/issues/10205","id":161965421,"user":{"login":"mariohmol","id":5495763,"avatar_url":"https://avatars.githubusercontent.com/u/5495763?v=3","gravatar_id":"","url":"https://api.github.com/users/mariohmol","html_url":"https://github.com/mariohmol","followers_url":"https://api.github.com/users/mariohmol/followers","following_url":"https://api.github.com/users/mariohmol/following{/other_user}","gists_url":"https://api.github.com/users/mariohmol/gists{/gist_id}","starred_url":"https://api.github.com/users/mariohmol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariohmol/subscriptions","organizations_url":"https://api.github.com/users/mariohmol/orgs","repos_url":"https://api.github.com/users/mariohmol/repos","events_url":"https://api.github.com/users/mariohmol/events{/privacy}","received_events_url":"https://api.github.com/users/mariohmol/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T13:16:50Z","updated_at":"2015-12-04T13:16:50Z","body":"I had this issue but i was using bower install --save ngAnimate instead of bower install --save angular-animate , fix it after using angular-animate"}}