{"action":"opened","issue":{"url":"https://api.github.com/repos/720kb/angular-socialshare/issues/100","repository_url":"https://api.github.com/repos/720kb/angular-socialshare","labels_url":"https://api.github.com/repos/720kb/angular-socialshare/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/720kb/angular-socialshare/issues/100/comments","events_url":"https://api.github.com/repos/720kb/angular-socialshare/issues/100/events","html_url":"https://github.com/720kb/angular-socialshare/issues/100","id":148827279,"number":100,"title":"Ability to close the popup window","user":{"login":"mebibou","id":305342,"avatar_url":"https://avatars.githubusercontent.com/u/305342?v=3","gravatar_id":"","url":"https://api.github.com/users/mebibou","html_url":"https://github.com/mebibou","followers_url":"https://api.github.com/users/mebibou/followers","following_url":"https://api.github.com/users/mebibou/following{/other_user}","gists_url":"https://api.github.com/users/mebibou/gists{/gist_id}","starred_url":"https://api.github.com/users/mebibou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mebibou/subscriptions","organizations_url":"https://api.github.com/users/mebibou/orgs","repos_url":"https://api.github.com/users/mebibou/repos","events_url":"https://api.github.com/users/mebibou/events{/privacy}","received_events_url":"https://api.github.com/users/mebibou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-16T07:28:31Z","updated_at":"2016-04-16T07:28:31Z","closed_at":null,"body":"For some providers such as facebook, sometimes it will not work if you do not provide a redirect_uri (like the send dialog), it would be nice to be able to retrieve the reference of `$window` that was open so that we can close it from the source (maybe by storing in the `$scope.socialShareWindow` ?)"}}