{"action":"created","issue":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/539","labels_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/539/labels{/name}","comments_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/539/comments","events_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/539/events","html_url":"https://github.com/tombatossals/angular-leaflet-directive/pull/539","id":49310425,"number":539,"title":"Catch error in case $destroy is called twice","user":{"login":"wylieconlon","id":666475,"avatar_url":"https://avatars.githubusercontent.com/u/666475?v=3","gravatar_id":"","url":"https://api.github.com/users/wylieconlon","html_url":"https://github.com/wylieconlon","followers_url":"https://api.github.com/users/wylieconlon/followers","following_url":"https://api.github.com/users/wylieconlon/following{/other_user}","gists_url":"https://api.github.com/users/wylieconlon/gists{/gist_id}","starred_url":"https://api.github.com/users/wylieconlon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wylieconlon/subscriptions","organizations_url":"https://api.github.com/users/wylieconlon/orgs","repos_url":"https://api.github.com/users/wylieconlon/repos","events_url":"https://api.github.com/users/wylieconlon/events{/privacy}","received_events_url":"https://api.github.com/users/wylieconlon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-18T23:53:41Z","updated_at":"2015-01-06T20:28:34Z","closed_at":"2014-11-19T19:25:32Z","pull_request":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/pulls/539","html_url":"https://github.com/tombatossals/angular-leaflet-directive/pull/539","diff_url":"https://github.com/tombatossals/angular-leaflet-directive/pull/539.diff","patch_url":"https://github.com/tombatossals/angular-leaflet-directive/pull/539.patch"},"body":"This error can happen when using ui-router, as ui-router will manage\r\nyour application lifecycle incorrectly. See this issue for more\r\ninformation:\r\n\r\nhttps://github.com/angular-ui/ui-router/issues/881\r\n\r\nI have not managed to create a reproducible test case for the bug, but the error message that this prevents is:\r\n\r\n    Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.\r\n\r\nI will provide a test case if possible."},"comment":{"url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/comments/68928145","html_url":"https://github.com/tombatossals/angular-leaflet-directive/pull/539#issuecomment-68928145","issue_url":"https://api.github.com/repos/tombatossals/angular-leaflet-directive/issues/539","id":68928145,"user":{"login":"khfayzullaev","id":3189410,"avatar_url":"https://avatars.githubusercontent.com/u/3189410?v=3","gravatar_id":"","url":"https://api.github.com/users/khfayzullaev","html_url":"https://github.com/khfayzullaev","followers_url":"https://api.github.com/users/khfayzullaev/followers","following_url":"https://api.github.com/users/khfayzullaev/following{/other_user}","gists_url":"https://api.github.com/users/khfayzullaev/gists{/gist_id}","starred_url":"https://api.github.com/users/khfayzullaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khfayzullaev/subscriptions","organizations_url":"https://api.github.com/users/khfayzullaev/orgs","repos_url":"https://api.github.com/users/khfayzullaev/repos","events_url":"https://api.github.com/users/khfayzullaev/events{/privacy}","received_events_url":"https://api.github.com/users/khfayzullaev/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T20:28:34Z","updated_at":"2015-01-06T20:28:34Z","body":"@wylieconlon With AngularJS v.1.3.6, I still see this issue. Any ideas?"}}