{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/2379","labels_url":"https://api.github.com/repos/angular/angular/issues/2379/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/2379/comments","events_url":"https://api.github.com/repos/angular/angular/issues/2379/events","html_url":"https://github.com/angular/angular/issues/2379","id":85632762,"number":2379,"title":"Get rid of App Injector / improve Element Injector","user":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20core/di","name":"comp: core/di","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort3:%20hard%20(week)","name":"effort3: hard (week)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/hotlist:%20breaking","name":"hotlist: breaking","color":"d4c5f9"},{"url":"https://api.github.com/repos/angular/angular/labels/hotlist:%20GT","name":"hotlist: GT","color":"d4c5f9"},{"url":"https://api.github.com/repos/angular/angular/labels/P1:%20urgent","name":"P1: urgent","color":"eb6420"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20refactor","name":"type: refactor","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":{"login":"vsavkin","id":35996,"avatar_url":"https://avatars.githubusercontent.com/u/35996?v=3","gravatar_id":"","url":"https://api.github.com/users/vsavkin","html_url":"https://github.com/vsavkin","followers_url":"https://api.github.com/users/vsavkin/followers","following_url":"https://api.github.com/users/vsavkin/following{/other_user}","gists_url":"https://api.github.com/users/vsavkin/gists{/gist_id}","starred_url":"https://api.github.com/users/vsavkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsavkin/subscriptions","organizations_url":"https://api.github.com/users/vsavkin/orgs","repos_url":"https://api.github.com/users/vsavkin/repos","events_url":"https://api.github.com/users/vsavkin/events{/privacy}","received_events_url":"https://api.github.com/users/vsavkin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/38","html_url":"https://github.com/angular/angular/milestones/alpha-30","labels_url":"https://api.github.com/repos/angular/angular/milestones/38/labels","id":1172910,"number":38,"title":"alpha-30","description":"Current milestone. Work on all issues to complete by Monday July 6 @ 8am PT; sync internal/external by 9th.","creator":{"login":"naomiblack","id":2286589,"avatar_url":"https://avatars.githubusercontent.com/u/2286589?v=3","gravatar_id":"","url":"https://api.github.com/users/naomiblack","html_url":"https://github.com/naomiblack","followers_url":"https://api.github.com/users/naomiblack/followers","following_url":"https://api.github.com/users/naomiblack/following{/other_user}","gists_url":"https://api.github.com/users/naomiblack/gists{/gist_id}","starred_url":"https://api.github.com/users/naomiblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naomiblack/subscriptions","organizations_url":"https://api.github.com/users/naomiblack/orgs","repos_url":"https://api.github.com/users/naomiblack/repos","events_url":"https://api.github.com/users/naomiblack/events{/privacy}","received_events_url":"https://api.github.com/users/naomiblack/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":19,"state":"closed","created_at":"2015-06-19T19:02:35Z","updated_at":"2015-07-09T20:13:27Z","due_on":"2015-07-09T07:00:00Z","closed_at":"2015-07-09T20:13:27Z"},"comments":15,"created_at":"2015-06-05T21:04:47Z","updated_at":"2015-12-02T09:07:37Z","closed_at":"2015-07-01T20:35:10Z","body":"# Goals\r\n\r\n- [x] Get rid of app `Injector`\r\n- [x] Allow `@Injectable` annotation to declare default visibility, default to `@Unbound(self: true)`\r\n- [x] All Directive's default visibility is hidden.\r\n- [x] Introduce `@Self` annotation to inject from current element.\r\n- [x] Have consumer of injection be able to override the default visibility.\r\n- [x] Root/platform injector on `HTML` element which has common instances (Location, Cookies, etc)."},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/161228180","html_url":"https://github.com/angular/angular/issues/2379#issuecomment-161228180","issue_url":"https://api.github.com/repos/angular/angular/issues/2379","id":161228180,"user":{"login":"robwormald","id":534930,"avatar_url":"https://avatars.githubusercontent.com/u/534930?v=3","gravatar_id":"","url":"https://api.github.com/users/robwormald","html_url":"https://github.com/robwormald","followers_url":"https://api.github.com/users/robwormald/followers","following_url":"https://api.github.com/users/robwormald/following{/other_user}","gists_url":"https://api.github.com/users/robwormald/gists{/gist_id}","starred_url":"https://api.github.com/users/robwormald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robwormald/subscriptions","organizations_url":"https://api.github.com/users/robwormald/orgs","repos_url":"https://api.github.com/users/robwormald/repos","events_url":"https://api.github.com/users/robwormald/events{/privacy}","received_events_url":"https://api.github.com/users/robwormald/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T09:07:37Z","updated_at":"2015-12-02T09:07:37Z","body":"make sure that you have --emitDecoratorMetadata turned on in the TS compiler as well. "}}