{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/1174","labels_url":"https://api.github.com/repos/angular/angular/issues/1174/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/1174/comments","events_url":"https://api.github.com/repos/angular/angular/issues/1174/events","html_url":"https://github.com/angular/angular/issues/1174","id":65486706,"number":1174,"title":"Question: DI in super constructors","user":{"login":"ajoslin","id":1265995,"avatar_url":"https://avatars.githubusercontent.com/u/1265995?v=3","gravatar_id":"","url":"https://api.github.com/users/ajoslin","html_url":"https://github.com/ajoslin","followers_url":"https://api.github.com/users/ajoslin/followers","following_url":"https://api.github.com/users/ajoslin/following{/other_user}","gists_url":"https://api.github.com/users/ajoslin/gists{/gist_id}","starred_url":"https://api.github.com/users/ajoslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajoslin/subscriptions","organizations_url":"https://api.github.com/users/ajoslin/orgs","repos_url":"https://api.github.com/users/ajoslin/repos","events_url":"https://api.github.com/users/ajoslin/events{/privacy}","received_events_url":"https://api.github.com/users/ajoslin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-31T16:08:23Z","updated_at":"2015-03-31T16:08:23Z","closed_at":null,"body":"Is it possible for a component's superclass to use DI like the child component?\r\n\r\nor if not, is there an easy way to run a function with a child component's element injector?\r\n\r\nIdeally, I could do something like this:\r\n\r\n```js\r\nclass Base {\r\n  constructor(@Parent() parent: ParentComponent) {\r\n  }\r\n}\r\n\r\n@Component({\r\n  selector: 'child'\r\n})\r\nclass Child extends Base {\r\n  constructor() {\r\n  }\r\n}\r\n```"}}