{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/1402","labels_url":"https://api.github.com/repos/angular/angular/issues/1402/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/1402/comments","events_url":"https://api.github.com/repos/angular/angular/issues/1402/events","html_url":"https://github.com/angular/angular/issues/1402","id":68986304,"number":1402,"title":"Create hostAttributes support","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/%23core","name":"#core","color":"bfdadc"},{"url":"https://api.github.com/repos/angular/angular/labels/%23core/compiler","name":"#core/compiler","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"pkozlowski-opensource","id":973550,"avatar_url":"https://avatars.githubusercontent.com/u/973550?v=3","gravatar_id":"","url":"https://api.github.com/users/pkozlowski-opensource","html_url":"https://github.com/pkozlowski-opensource","followers_url":"https://api.github.com/users/pkozlowski-opensource/followers","following_url":"https://api.github.com/users/pkozlowski-opensource/following{/other_user}","gists_url":"https://api.github.com/users/pkozlowski-opensource/gists{/gist_id}","starred_url":"https://api.github.com/users/pkozlowski-opensource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkozlowski-opensource/subscriptions","organizations_url":"https://api.github.com/users/pkozlowski-opensource/orgs","repos_url":"https://api.github.com/users/pkozlowski-opensource/repos","events_url":"https://api.github.com/users/pkozlowski-opensource/events{/privacy}","received_events_url":"https://api.github.com/users/pkozlowski-opensource/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/23","html_url":"https://github.com/angular/angular/milestones/M8:%20GT%20Customer%20(non-blocking)","labels_url":"https://api.github.com/repos/angular/angular/milestones/23/labels","id":1054731,"number":23,"title":"M8: GT Customer (non-blocking)","description":"","creator":{"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},"open_issues":21,"closed_issues":23,"state":"open","created_at":"2015-04-06T16:59:20Z","updated_at":"2015-04-28T21:56:22Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-16T18:47:40Z","updated_at":"2015-04-28T21:57:48Z","closed_at":null,"body":"## Goal\r\n\r\nTo be able to statically describe attributes on host element.\r\n\r\nExample: <md-button> needs to be declared as <md-button aria-role=\"button\"> for proper behavior. Doing this imperatively would be unnecessarily slow. Changing the template is more defective.\r\n\r\n## API\r\n\r\n```javascript\r\n@Component({\r\n  selector: 'md-button',\r\n  hostAttributes: {\r\n    'role': 'button'\r\n  }\r\n})\r\n@View(...)\r\nclass MdButton {}\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/97237463","html_url":"https://github.com/angular/angular/issues/1402#issuecomment-97237463","issue_url":"https://api.github.com/repos/angular/angular/issues/1402","id":97237463,"user":{"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},"created_at":"2015-04-28T21:57:48Z","updated_at":"2015-04-28T21:57:48Z","body":"@pkozlowski-opensource how do you feel about taking this one on?"}}