{"action":"created","issue":{"url":"https://api.github.com/repos/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/2","repository_url":"https://api.github.com/repos/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate","labels_url":"https://api.github.com/repos/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/2/comments","events_url":"https://api.github.com/repos/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/2/events","html_url":"https://github.com/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/2","id":156106210,"number":2,"title":"\"Uncaught (in promise): No provider for Configuration! (Home -> DataService -> Configuration)\"","user":{"login":"felipedrumond","id":17038136,"avatar_url":"https://avatars.githubusercontent.com/u/17038136?v=3","gravatar_id":"","url":"https://api.github.com/users/felipedrumond","html_url":"https://github.com/felipedrumond","followers_url":"https://api.github.com/users/felipedrumond/followers","following_url":"https://api.github.com/users/felipedrumond/following{/other_user}","gists_url":"https://api.github.com/users/felipedrumond/gists{/gist_id}","starred_url":"https://api.github.com/users/felipedrumond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipedrumond/subscriptions","organizations_url":"https://api.github.com/users/felipedrumond/orgs","repos_url":"https://api.github.com/users/felipedrumond/repos","events_url":"https://api.github.com/users/felipedrumond/events{/privacy}","received_events_url":"https://api.github.com/users/felipedrumond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-21T15:03:35Z","updated_at":"2016-07-01T05:13:08Z","closed_at":null,"body":"Hi. I'm getting \"no provider error for Configuration\" when using DataService in Home component, but if I add Configurations to the providers list, it works. Do I really need to add Configuration to the component?\r\n\r\nThis does not work\r\n```\r\n@Component({\r\n    selector: 'home',\r\n    templateUrl: 'app/home/home.component.html',\r\n    directives: [CORE_DIRECTIVES],\r\n    providers:[DataService]\r\n})\r\n```\r\nThis works\r\n```\r\n@Component({\r\n    selector: 'home',\r\n    templateUrl: 'app/home/home.component.html',\r\n    directives: [CORE_DIRECTIVES],\r\n    providers:[DataService, Configuration]\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/comments/229855452","html_url":"https://github.com/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/2#issuecomment-229855452","issue_url":"https://api.github.com/repos/FabianGosebrink/ASPNET-Core-Angular2-StarterTemplate/issues/2","id":229855452,"user":{"login":"FabianGosebrink","id":11268349,"avatar_url":"https://avatars.githubusercontent.com/u/11268349?v=3","gravatar_id":"","url":"https://api.github.com/users/FabianGosebrink","html_url":"https://github.com/FabianGosebrink","followers_url":"https://api.github.com/users/FabianGosebrink/followers","following_url":"https://api.github.com/users/FabianGosebrink/following{/other_user}","gists_url":"https://api.github.com/users/FabianGosebrink/gists{/gist_id}","starred_url":"https://api.github.com/users/FabianGosebrink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabianGosebrink/subscriptions","organizations_url":"https://api.github.com/users/FabianGosebrink/orgs","repos_url":"https://api.github.com/users/FabianGosebrink/repos","events_url":"https://api.github.com/users/FabianGosebrink/events{/privacy}","received_events_url":"https://api.github.com/users/FabianGosebrink/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T05:13:08Z","updated_at":"2016-07-01T05:13:08Z","body":"closing this now..."}}
{"actor":{"display_login":"FabianGosebrink"}}