{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular/pulls/comments/45096347","id":45096347,"diff_hunk":"@@ -17,5 +17,10 @@ Declares that a class is a pipe and provides metadata about the pipe.\n @cheatsheetItem\n `@Injectable()\n class MyService() {}`|`@Injectable()`\n+Declares that a class is capable of being injected.","path":"modules/angular2/docs/cheatsheet/class-decorators.md","position":4,"original_position":4,"commit_id":"306f5fe6adb7984dcbc91b29b8302250de2b1279","original_commit_id":"306f5fe6adb7984dcbc91b29b8302250de2b1279","user":{"login":"wardbell","id":129061,"avatar_url":"https://avatars.githubusercontent.com/u/129061?v=3","gravatar_id":"","url":"https://api.github.com/users/wardbell","html_url":"https://github.com/wardbell","followers_url":"https://api.github.com/users/wardbell/followers","following_url":"https://api.github.com/users/wardbell/following{/other_user}","gists_url":"https://api.github.com/users/wardbell/gists{/gist_id}","starred_url":"https://api.github.com/users/wardbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardbell/subscriptions","organizations_url":"https://api.github.com/users/wardbell/orgs","repos_url":"https://api.github.com/users/wardbell/repos","events_url":"https://api.github.com/users/wardbell/events{/privacy}","received_events_url":"https://api.github.com/users/wardbell/received_events","type":"User","site_admin":false},"body":"Agree Pete. Frankly I'd bet a lot of doughnuts that the perf- and memory-hit is not measurable. The metadata is read exactly once per user session, there are no more than 100 services in an app tops, and everything else TypeScript so thoroughly bloats the JS code that this tidbit is lost in the wash.","created_at":"2015-11-17T18:13:54Z","updated_at":"2015-11-17T18:13:54Z","html_url":"https://github.com/angular/angular/pull/5331#discussion_r45096347","pull_request_url":"https://api.github.com/repos/angular/angular/pulls/5331","_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/comments/45096347"},"html":{"href":"https://github.com/angular/angular/pull/5331#discussion_r45096347"},"pull_request":{"href":"https://api.github.com/repos/angular/angular/pulls/5331"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/5331","id":50898138,"html_url":"https://github.com/angular/angular/pull/5331","diff_url":"https://github.com/angular/angular/pull/5331.diff","patch_url":"https://github.com/angular/angular/pull/5331.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/5331","number":5331,"state":"open","locked":false,"title":"docs(*): Fix description for @Injectable decorator","user":{"login":"timkindberg","id":168046,"avatar_url":"https://avatars.githubusercontent.com/u/168046?v=3","gravatar_id":"","url":"https://api.github.com/users/timkindberg","html_url":"https://github.com/timkindberg","followers_url":"https://api.github.com/users/timkindberg/followers","following_url":"https://api.github.com/users/timkindberg/following{/other_user}","gists_url":"https://api.github.com/users/timkindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/timkindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkindberg/subscriptions","organizations_url":"https://api.github.com/users/timkindberg/orgs","repos_url":"https://api.github.com/users/timkindberg/repos","events_url":"https://api.github.com/users/timkindberg/events{/privacy}","received_events_url":"https://api.github.com/users/timkindberg/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-17T02:52:55Z","updated_at":"2015-11-17T18:13:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a1d544a789cd8324decbd369f9ecc967347840b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/5331/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/5331/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/5331/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/306f5fe6adb7984dcbc91b29b8302250de2b1279","head":{"label":"timkindberg:patch-1","ref":"patch-1","sha":"306f5fe6adb7984dcbc91b29b8302250de2b1279","user":{"login":"timkindberg","id":168046,"avatar_url":"https://avatars.githubusercontent.com/u/168046?v=3","gravatar_id":"","url":"https://api.github.com/users/timkindberg","html_url":"https://github.com/timkindberg","followers_url":"https://api.github.com/users/timkindberg/followers","following_url":"https://api.github.com/users/timkindberg/following{/other_user}","gists_url":"https://api.github.com/users/timkindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/timkindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkindberg/subscriptions","organizations_url":"https://api.github.com/users/timkindberg/orgs","repos_url":"https://api.github.com/users/timkindberg/repos","events_url":"https://api.github.com/users/timkindberg/events{/privacy}","received_events_url":"https://api.github.com/users/timkindberg/received_events","type":"User","site_admin":false},"repo":{"id":44402872,"name":"angular","full_name":"timkindberg/angular","owner":{"login":"timkindberg","id":168046,"avatar_url":"https://avatars.githubusercontent.com/u/168046?v=3","gravatar_id":"","url":"https://api.github.com/users/timkindberg","html_url":"https://github.com/timkindberg","followers_url":"https://api.github.com/users/timkindberg/followers","following_url":"https://api.github.com/users/timkindberg/following{/other_user}","gists_url":"https://api.github.com/users/timkindberg/gists{/gist_id}","starred_url":"https://api.github.com/users/timkindberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timkindberg/subscriptions","organizations_url":"https://api.github.com/users/timkindberg/orgs","repos_url":"https://api.github.com/users/timkindberg/repos","events_url":"https://api.github.com/users/timkindberg/events{/privacy}","received_events_url":"https://api.github.com/users/timkindberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timkindberg/angular","description":"","fork":true,"url":"https://api.github.com/repos/timkindberg/angular","forks_url":"https://api.github.com/repos/timkindberg/angular/forks","keys_url":"https://api.github.com/repos/timkindberg/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timkindberg/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timkindberg/angular/teams","hooks_url":"https://api.github.com/repos/timkindberg/angular/hooks","issue_events_url":"https://api.github.com/repos/timkindberg/angular/issues/events{/number}","events_url":"https://api.github.com/repos/timkindberg/angular/events","assignees_url":"https://api.github.com/repos/timkindberg/angular/assignees{/user}","branches_url":"https://api.github.com/repos/timkindberg/angular/branches{/branch}","tags_url":"https://api.github.com/repos/timkindberg/angular/tags","blobs_url":"https://api.github.com/repos/timkindberg/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timkindberg/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timkindberg/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/timkindberg/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timkindberg/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/timkindberg/angular/languages","stargazers_url":"https://api.github.com/repos/timkindberg/angular/stargazers","contributors_url":"https://api.github.com/repos/timkindberg/angular/contributors","subscribers_url":"https://api.github.com/repos/timkindberg/angular/subscribers","subscription_url":"https://api.github.com/repos/timkindberg/angular/subscription","commits_url":"https://api.github.com/repos/timkindberg/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/timkindberg/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/timkindberg/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/timkindberg/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/timkindberg/angular/contents/{+path}","compare_url":"https://api.github.com/repos/timkindberg/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timkindberg/angular/merges","archive_url":"https://api.github.com/repos/timkindberg/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timkindberg/angular/downloads","issues_url":"https://api.github.com/repos/timkindberg/angular/issues{/number}","pulls_url":"https://api.github.com/repos/timkindberg/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/timkindberg/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/timkindberg/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timkindberg/angular/labels{/name}","releases_url":"https://api.github.com/repos/timkindberg/angular/releases{/id}","created_at":"2015-10-16T18:14:43Z","updated_at":"2015-10-16T18:14:48Z","pushed_at":"2015-11-17T02:52:39Z","git_url":"git://github.com/timkindberg/angular.git","ssh_url":"git@github.com:timkindberg/angular.git","clone_url":"https://github.com/timkindberg/angular.git","svn_url":"https://github.com/timkindberg/angular","homepage":"https://angular.io","size":19313,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"a31e2f5f4799e9ce20ae508f9f91dfeba05805f2","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","created_at":"2014-09-18T16:12:01Z","updated_at":"2015-11-17T17:58:36Z","pushed_at":"2015-11-17T18:09:39Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":"https://angular.io","size":29680,"stargazers_count":6593,"watchers_count":6593,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1776,"mirror_url":null,"open_issues_count":631,"forks":1776,"open_issues":631,"watchers":6593,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/5331"},"html":{"href":"https://github.com/angular/angular/pull/5331"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/5331"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/5331/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/5331/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/5331/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/306f5fe6adb7984dcbc91b29b8302250de2b1279"}}}}