{"action":"opened","issue":{"url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/35","repository_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest","labels_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/35/comments","events_url":"https://api.github.com/repos/troyanskiy/ng2-resource-rest/issues/35/events","html_url":"https://github.com/troyanskiy/ng2-resource-rest/issues/35","id":177411247,"number":35,"title":"Use own service in Resource","user":{"login":"anfluff","id":10028578,"avatar_url":"https://avatars.githubusercontent.com/u/10028578?v=3","gravatar_id":"","url":"https://api.github.com/users/anfluff","html_url":"https://github.com/anfluff","followers_url":"https://api.github.com/users/anfluff/followers","following_url":"https://api.github.com/users/anfluff/following{/other_user}","gists_url":"https://api.github.com/users/anfluff/gists{/gist_id}","starred_url":"https://api.github.com/users/anfluff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anfluff/subscriptions","organizations_url":"https://api.github.com/users/anfluff/orgs","repos_url":"https://api.github.com/users/anfluff/repos","events_url":"https://api.github.com/users/anfluff/events{/privacy}","received_events_url":"https://api.github.com/users/anfluff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T12:14:55Z","updated_at":"2016-09-16T12:14:55Z","closed_at":null,"body":"Hello!\r\nI've got a question.\r\nHow can i use my own injactable services in Resource?\r\nThis statement breaks extension extension of Resource:\r\n\r\n``` typescript\r\nexport class UnitRes extends Resource {\r\n    constructor(\r\n            http: Http,\r\n            private _myService: MyService\r\n        ) {\r\n            super(http);\r\n        }\r\n }\r\n```\r\n\r\nSo is there the right way?"}}
{"actor":{"display_login":"anfluff"}}