{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/321","labels_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/321/comments","events_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/321/events","html_url":"https://github.com/Urigo/angular-meteor/pull/321","id":72650538,"number":321,"title":"Remove Blaze view handler on $scope destroy.","user":{"login":"barbatus","id":2824096,"avatar_url":"https://avatars.githubusercontent.com/u/2824096?v=3","gravatar_id":"","url":"https://api.github.com/users/barbatus","html_url":"https://github.com/barbatus","followers_url":"https://api.github.com/users/barbatus/followers","following_url":"https://api.github.com/users/barbatus/following{/other_user}","gists_url":"https://api.github.com/users/barbatus/gists{/gist_id}","starred_url":"https://api.github.com/users/barbatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbatus/subscriptions","organizations_url":"https://api.github.com/users/barbatus/orgs","repos_url":"https://api.github.com/users/barbatus/repos","events_url":"https://api.github.com/users/barbatus/events{/privacy}","received_events_url":"https://api.github.com/users/barbatus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-02T14:07:37Z","updated_at":"2015-05-02T15:22:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Urigo/angular-meteor/pulls/321","html_url":"https://github.com/Urigo/angular-meteor/pull/321","diff_url":"https://github.com/Urigo/angular-meteor/pull/321.diff","patch_url":"https://github.com/Urigo/angular-meteor/pull/321.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/comments/98370804","html_url":"https://github.com/Urigo/angular-meteor/pull/321#issuecomment-98370804","issue_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/321","id":98370804,"user":{"login":"barbatus","id":2824096,"avatar_url":"https://avatars.githubusercontent.com/u/2824096?v=3","gravatar_id":"","url":"https://api.github.com/users/barbatus","html_url":"https://github.com/barbatus","followers_url":"https://api.github.com/users/barbatus/followers","following_url":"https://api.github.com/users/barbatus/following{/other_user}","gists_url":"https://api.github.com/users/barbatus/gists{/gist_id}","starred_url":"https://api.github.com/users/barbatus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbatus/subscriptions","organizations_url":"https://api.github.com/users/barbatus/orgs","repos_url":"https://api.github.com/users/barbatus/repos","events_url":"https://api.github.com/users/barbatus/events{/privacy}","received_events_url":"https://api.github.com/users/barbatus/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T15:22:36Z","updated_at":"2015-05-02T15:22:36Z","body":"@Urigo I think it's pretty clear here. Template is created and rendered dynamically in this directive so we need to remove Blaze reference to it at some point (e.g. when new page is opened) otherwise it will dangle. $destroy is standard Angular event emitted when scope destroyed."}}