{"action":"created","issue":{"url":"https://api.github.com/repos/dpiccone/ng-pageslide/issues/141","repository_url":"https://api.github.com/repos/dpiccone/ng-pageslide","labels_url":"https://api.github.com/repos/dpiccone/ng-pageslide/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/dpiccone/ng-pageslide/issues/141/comments","events_url":"https://api.github.com/repos/dpiccone/ng-pageslide/issues/141/events","html_url":"https://github.com/dpiccone/ng-pageslide/issues/141","id":181410266,"number":141,"title":"destroy method removing child","user":{"login":"technimadhu","id":7958275,"avatar_url":"https://avatars.githubusercontent.com/u/7958275?v=3","gravatar_id":"","url":"https://api.github.com/users/technimadhu","html_url":"https://github.com/technimadhu","followers_url":"https://api.github.com/users/technimadhu/followers","following_url":"https://api.github.com/users/technimadhu/following{/other_user}","gists_url":"https://api.github.com/users/technimadhu/gists{/gist_id}","starred_url":"https://api.github.com/users/technimadhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technimadhu/subscriptions","organizations_url":"https://api.github.com/users/technimadhu/orgs","repos_url":"https://api.github.com/users/technimadhu/repos","events_url":"https://api.github.com/users/technimadhu/events{/privacy}","received_events_url":"https://api.github.com/users/technimadhu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-06T13:09:10Z","updated_at":"2016-10-06T15:24:01Z","closed_at":"2016-10-06T15:24:01Z","body":"Request SME's opinion on how to handle this.\r\n\r\n1. I have multiple tabs (each has its own scope) and tab change causes new route( using ui-router). the page slide is used in each tab. When i switch tabs, the destroy event on pageSlide removes the 'childElements' which contains my button (which is inside the page-slide directive). The problem is i have no control on when this destroy is called. Sometimes its called after the new tab is created with the button and then the old scope's destroy fires removing the button . If i comment out the removeChild in destroy, then it helps my situation. could this be provided as an option? i.e. dont destroy if option is passed? "},"comment":{"url":"https://api.github.com/repos/dpiccone/ng-pageslide/issues/comments/251996673","html_url":"https://github.com/dpiccone/ng-pageslide/issues/141#issuecomment-251996673","issue_url":"https://api.github.com/repos/dpiccone/ng-pageslide/issues/141","id":251996673,"user":{"login":"technimadhu","id":7958275,"avatar_url":"https://avatars.githubusercontent.com/u/7958275?v=3","gravatar_id":"","url":"https://api.github.com/users/technimadhu","html_url":"https://github.com/technimadhu","followers_url":"https://api.github.com/users/technimadhu/followers","following_url":"https://api.github.com/users/technimadhu/following{/other_user}","gists_url":"https://api.github.com/users/technimadhu/gists{/gist_id}","starred_url":"https://api.github.com/users/technimadhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technimadhu/subscriptions","organizations_url":"https://api.github.com/users/technimadhu/orgs","repos_url":"https://api.github.com/users/technimadhu/repos","events_url":"https://api.github.com/users/technimadhu/events{/privacy}","received_events_url":"https://api.github.com/users/technimadhu/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T15:24:01Z","updated_at":"2016-10-06T15:24:01Z","body":"closing this - bug in my state change - notify: false not set properly."}}
{"actor":{"display_login":"technimadhu"}}