{"action":"created","issue":{"url":"https://api.github.com/repos/flauc/angular2-notifications/issues/38","repository_url":"https://api.github.com/repos/flauc/angular2-notifications","labels_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/38/comments","events_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/38/events","html_url":"https://github.com/flauc/angular2-notifications/issues/38","id":160937393,"number":38,"title":"Document reuse","user":{"login":"et1975","id":623703,"avatar_url":"https://avatars.githubusercontent.com/u/623703?v=3","gravatar_id":"","url":"https://api.github.com/users/et1975","html_url":"https://github.com/et1975","followers_url":"https://api.github.com/users/et1975/followers","following_url":"https://api.github.com/users/et1975/following{/other_user}","gists_url":"https://api.github.com/users/et1975/gists{/gist_id}","starred_url":"https://api.github.com/users/et1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/et1975/subscriptions","organizations_url":"https://api.github.com/users/et1975/orgs","repos_url":"https://api.github.com/users/et1975/repos","events_url":"https://api.github.com/users/et1975/events{/privacy}","received_events_url":"https://api.github.com/users/et1975/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-17T17:29:59Z","updated_at":"2016-06-22T18:44:37Z","closed_at":"2016-06-22T18:44:37Z","body":"I can't seem to get notifications working unless the directive is included in the template of the component that does the notification. What I'd like to do is have the directive in my main/app component and only inject the service into the individual components that produce the notifications, therefore reusing the same \"toaster\". Is it possible?"},"comment":{"url":"https://api.github.com/repos/flauc/angular2-notifications/issues/comments/227839637","html_url":"https://github.com/flauc/angular2-notifications/issues/38#issuecomment-227839637","issue_url":"https://api.github.com/repos/flauc/angular2-notifications/issues/38","id":227839637,"user":{"login":"et1975","id":623703,"avatar_url":"https://avatars.githubusercontent.com/u/623703?v=3","gravatar_id":"","url":"https://api.github.com/users/et1975","html_url":"https://github.com/et1975","followers_url":"https://api.github.com/users/et1975/followers","following_url":"https://api.github.com/users/et1975/following{/other_user}","gists_url":"https://api.github.com/users/et1975/gists{/gist_id}","starred_url":"https://api.github.com/users/et1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/et1975/subscriptions","organizations_url":"https://api.github.com/users/et1975/orgs","repos_url":"https://api.github.com/users/et1975/repos","events_url":"https://api.github.com/users/et1975/events{/privacy}","received_events_url":"https://api.github.com/users/et1975/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T18:44:37Z","updated_at":"2016-06-22T18:44:37Z","body":"Ok, that was a angular2 noob situation: directive and provider should only be declared as dependency of the main/app component. Works as advertised!"}}
{"actor":{"display_login":"et1975"}}