{"action":"opened","issue":{"url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/137","labels_url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/137/comments","events_url":"https://api.github.com/repos/Foxandxss/angular-toastr/issues/137/events","html_url":"https://github.com/Foxandxss/angular-toastr/issues/137","id":115709241,"number":137,"title":"Used in a service, toastr.clear() not working","user":{"login":"OpenNoob","id":7935033,"avatar_url":"https://avatars.githubusercontent.com/u/7935033?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenNoob","html_url":"https://github.com/OpenNoob","followers_url":"https://api.github.com/users/OpenNoob/followers","following_url":"https://api.github.com/users/OpenNoob/following{/other_user}","gists_url":"https://api.github.com/users/OpenNoob/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenNoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenNoob/subscriptions","organizations_url":"https://api.github.com/users/OpenNoob/orgs","repos_url":"https://api.github.com/users/OpenNoob/repos","events_url":"https://api.github.com/users/OpenNoob/events{/privacy}","received_events_url":"https://api.github.com/users/OpenNoob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-08T04:40:54Z","updated_at":"2015-11-08T04:40:54Z","closed_at":null,"body":"Hi,\r\n\r\nAs in the title, calling the clear method doesn't work when toastr is used in service/factory. Calling them to show works, no problem.\r\n\r\nHow exactly can this be used in a service? \r\n\r\nThanks"}}