{"action":"opened","number":546,"pull_request":{"url":"https://api.github.com/repos/angular/angular.io/pulls/546","id":53780962,"html_url":"https://github.com/angular/angular.io/pull/546","diff_url":"https://github.com/angular/angular.io/pull/546.diff","patch_url":"https://github.com/angular/angular.io/pull/546.patch","issue_url":"https://api.github.com/repos/angular/angular.io/issues/546","number":546,"state":"open","locked":false,"title":"[WIP] feat(di-guide): move code to examples","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":"Copied from [ideablade pr 5](https://github.com/IdeaBlade/angular.io/pull/5).\r\n\r\nPascal says: Please review this one.\r\n\r\nI haven't moved all code snippets to examples yet since I'm not really sure how we want to handle this for simple one liners. Sometimes I also have the feeling it doesn't really make sense/gives us any additional value to move a simple snippet out to the examples folder.\r\n\r\nThoughts and feedback welcome!","created_at":"2015-12-15T23:59:03Z","updated_at":"2015-12-15T23:59:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular.io/pulls/546/commits","review_comments_url":"https://api.github.com/repos/angular/angular.io/pulls/546/comments","review_comment_url":"https://api.github.com/repos/angular/angular.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.io/issues/546/comments","statuses_url":"https://api.github.com/repos/angular/angular.io/statuses/6be93c3e7bd0b9e0a5af6c4db73c947bc5affa9c","head":{"label":"thoughtram:di-guide-examples","ref":"di-guide-examples","sha":"6be93c3e7bd0b9e0a5af6c4db73c947bc5affa9c","user":{"login":"thoughtram","id":6850901,"avatar_url":"https://avatars.githubusercontent.com/u/6850901?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtram","html_url":"https://github.com/thoughtram","followers_url":"https://api.github.com/users/thoughtram/followers","following_url":"https://api.github.com/users/thoughtram/following{/other_user}","gists_url":"https://api.github.com/users/thoughtram/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtram/subscriptions","organizations_url":"https://api.github.com/users/thoughtram/orgs","repos_url":"https://api.github.com/users/thoughtram/repos","events_url":"https://api.github.com/users/thoughtram/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtram/received_events","type":"Organization","site_admin":false},"repo":{"id":41545691,"name":"angular.io","full_name":"thoughtram/angular.io","owner":{"login":"thoughtram","id":6850901,"avatar_url":"https://avatars.githubusercontent.com/u/6850901?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtram","html_url":"https://github.com/thoughtram","followers_url":"https://api.github.com/users/thoughtram/followers","following_url":"https://api.github.com/users/thoughtram/following{/other_user}","gists_url":"https://api.github.com/users/thoughtram/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtram/subscriptions","organizations_url":"https://api.github.com/users/thoughtram/orgs","repos_url":"https://api.github.com/users/thoughtram/repos","events_url":"https://api.github.com/users/thoughtram/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtram/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtram/angular.io","description":"Website for Angular 2","fork":true,"url":"https://api.github.com/repos/thoughtram/angular.io","forks_url":"https://api.github.com/repos/thoughtram/angular.io/forks","keys_url":"https://api.github.com/repos/thoughtram/angular.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtram/angular.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtram/angular.io/teams","hooks_url":"https://api.github.com/repos/thoughtram/angular.io/hooks","issue_events_url":"https://api.github.com/repos/thoughtram/angular.io/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtram/angular.io/events","assignees_url":"https://api.github.com/repos/thoughtram/angular.io/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtram/angular.io/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtram/angular.io/tags","blobs_url":"https://api.github.com/repos/thoughtram/angular.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtram/angular.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtram/angular.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtram/angular.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtram/angular.io/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtram/angular.io/languages","stargazers_url":"https://api.github.com/repos/thoughtram/angular.io/stargazers","contributors_url":"https://api.github.com/repos/thoughtram/angular.io/contributors","subscribers_url":"https://api.github.com/repos/thoughtram/angular.io/subscribers","subscription_url":"https://api.github.com/repos/thoughtram/angular.io/subscription","commits_url":"https://api.github.com/repos/thoughtram/angular.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtram/angular.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtram/angular.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtram/angular.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtram/angular.io/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtram/angular.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtram/angular.io/merges","archive_url":"https://api.github.com/repos/thoughtram/angular.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtram/angular.io/downloads","issues_url":"https://api.github.com/repos/thoughtram/angular.io/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtram/angular.io/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtram/angular.io/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtram/angular.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtram/angular.io/labels{/name}","releases_url":"https://api.github.com/repos/thoughtram/angular.io/releases{/id}","created_at":"2015-08-28T12:15:07Z","updated_at":"2015-08-28T12:15:08Z","pushed_at":"2015-12-12T12:59:10Z","git_url":"git://github.com/thoughtram/angular.io.git","ssh_url":"git@github.com:thoughtram/angular.io.git","clone_url":"https://github.com/thoughtram/angular.io.git","svn_url":"https://github.com/thoughtram/angular.io","homepage":"https://angular.io","size":10647,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"aad9aaf8c74c35d3cbfaaab0386c38cf9f615dc6","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":31985425,"name":"angular.io","full_name":"angular/angular.io","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.io","description":"Website for Angular 2","fork":false,"url":"https://api.github.com/repos/angular/angular.io","forks_url":"https://api.github.com/repos/angular/angular.io/forks","keys_url":"https://api.github.com/repos/angular/angular.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.io/teams","hooks_url":"https://api.github.com/repos/angular/angular.io/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.io/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.io/events","assignees_url":"https://api.github.com/repos/angular/angular.io/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.io/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.io/tags","blobs_url":"https://api.github.com/repos/angular/angular.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.io/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.io/languages","stargazers_url":"https://api.github.com/repos/angular/angular.io/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.io/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.io/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.io/subscription","commits_url":"https://api.github.com/repos/angular/angular.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.io/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.io/merges","archive_url":"https://api.github.com/repos/angular/angular.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.io/downloads","issues_url":"https://api.github.com/repos/angular/angular.io/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.io/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.io/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.io/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.io/releases{/id}","created_at":"2015-03-10T22:32:34Z","updated_at":"2015-12-15T23:03:56Z","pushed_at":"2015-12-15T23:59:04Z","git_url":"git://github.com/angular/angular.io.git","ssh_url":"git@github.com:angular/angular.io.git","clone_url":"https://github.com/angular/angular.io.git","svn_url":"https://github.com/angular/angular.io","homepage":"https://angular.io","size":13259,"stargazers_count":158,"watchers_count":158,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":171,"mirror_url":null,"open_issues_count":83,"forks":171,"open_issues":83,"watchers":158,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.io/pulls/546"},"html":{"href":"https://github.com/angular/angular.io/pull/546"},"issue":{"href":"https://api.github.com/repos/angular/angular.io/issues/546"},"comments":{"href":"https://api.github.com/repos/angular/angular.io/issues/546/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.io/pulls/546/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.io/pulls/546/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.io/statuses/6be93c3e7bd0b9e0a5af6c4db73c947bc5affa9c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":194,"deletions":78,"changed_files":12}}