{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular/pulls/comments/218556493","pull_request_review_id":156521986,"id":218556493,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODU1NjQ5Mw==","diff_hunk":"@@ -0,0 +1,208 @@\n+# Introduction to forms in Angular\n+\n+Handling user input with forms is the cornerstone of many common applications. Applications use forms to log in, to update a profile, to enter sensitive information, and to perform many other data-entry tasks. \n+\n+Angular provides two different approaches to handling user input through forms: reactive and template-driven. Each set of forms promote a distinct way of processing forms and offers different advantages.  There are many different factors that influence your decision on which approach works best for your situation. Whether you’re using reactive or template-driven forms, these concepts are key to understanding the mechanisms underneath each solution. The sections below provide a comparison of the key differences, common building blocks, data flows, validation and testing, and mutability and scalability when deciding between reactive and template-driven forms.\n+\n+**In general:**\n+\n+* **Reactive forms** are more robust: they are more scalable, reusable, and testable. If forms are a key part of your application, or you're already using reactive patterns for building your application, use reactive forms.\n+* **Template-driven forms** are useful for adding a simple form to an app, such as an email list signup form. They are easy to add to an app, but they do not scale as well as reactive forms. If you have very basic form requirements and logic that can be managed solely in the template, use template-driven forms.\n+\n+## Key differences\n+\n+The table below summarizes the key differences in reactive and template driven forms.\n+\n+<style>\n+  table {width: 100%};\n+  td, th {vertical-align: top};\n+</style>\n+\n+||Reactive|Template-driven|\n+|--- |--- |--- |\n+|Setup/Form Model|More explicit/Created in the component class.|Less explicit/Created by the directives.|\n+|Data model|Structured|Unstructured|\n+|Predictability|Synchronous|Asynchronous|\n+|Form validation|Functions|Directives|\n+|Mutability|Immutable|Mutable|\n+|Scalability|Low-level API access|Abstraction on top of APIs|\n+\n+## A common foundation\n+\n+Both reactive and template-driven forms share underlying building blocks. \n+\n+- A `FormControl` instance that tracks the value and validation status of an individual form control.\n+- A `FormGroup` instance that tracks the same values and statuses for a collection of form controls.\n+- A `FormArray` instance that tracks the same values and statues for an array of form controls.\n+- A `ControlValueAccessor` that creates a bridge between Angular form controls and native DOM elements.\n+\n+How these control instances are created and managed with reactive and template-driven forms is introduced in the [form model](#the-form-model) section below and detailed further in the [data flow section](#data-flow-in-forms) of this guide.\n+\n+## The form model\n+\n+In reactive forms, the source of truth is the form model (the `FormControl` instance)\n+\n+<figure>\n+  <img src=\"generated/images/guide/forms-overview/key-diff-reactive-forms.png\" alt=\"Reactive forms key differences\">\n+</figure>\n+\n+With reactive forms, the form model is explicitly defined in the component class. The reactive form directive (in this case, `FormControlDirective`) then links the existing form control instance to a specific form element in the view using a value accessor. Updates from the view-to-model and model-to-view are synchronous and not dependent on the UI rendered.\n+\n+In template-driven forms, the source of truth is the template.\n+\n+<figure>\n+  <img src=\"generated/images/guide/forms-overview/key-diff-td-forms.png\" alt=\"Template-driven forms key differences\">\n+</figure>\n+\n+The abstraction of the form model promotes simplicity over structure. It is less explicit, but you no longer have direct control over the form model. Updates from the view-to-model and model-to-view must pass through directives (in this case, the `NgModel` directive), and be asynchronous to work around the change detection cycle. Value changes are delayed until the next tick, which allows change detection to complete and a new change detection process to be triggered with the updated value.\n+\n+## Data flow in forms\n+\n+When building forms in Angular, it's important to understand how the the framework handles data flowing from the user or from programmatic changes. Reactive and template-driven forms follow two different strategies when handling form input. The components below use an input field to manage the *favorite color* value and to show how changes are handled.\n+\n+### Data flow in reactive forms\n+\n+Here is a component with an input field for a single control implemented using reactive forms.\n+\n+<code-example path=\"forms-overview/src/app/reactive/favorite-color/favorite-color.component.ts\">\n+</code-example>\n+\n+The diagrams below shows how the data flows for an input with reactive forms.\n+\n+<figure>\n+  <img src=\"generated/images/guide/forms-overview/dataflow-reactive-forms-vtm.png\" alt=\"Reactive forms view to model data flow\" width=\"100%\">\n+</figure>\n+\n+From the view-to-model:\n+\n+1. The form input element emits an input event with the latest value.\n+1. The control value accessor on the form input element immediately relays the new value to the `FormControl` instance, which then emits the value through the valueChanges observable.\n+\n+<figure>\n+  <img src=\"generated/images/guide/forms-overview/dataflow-reactive-forms-mtv.png\" alt=\"Reactive forms model to view data flow\" width=\"100%\">\n+</figure>\n+\n+From the model-to-view:\n+\n+1. The form control instance sets the latest value and emits the latest value through the `valueChanges` observable.\n+1. The control value accessor on the form input element is updates the element with the latest value.\n+\n+### Data flow in template-driven forms\n+\n+Here is the same component with an input field for a single control implemented using template-driven forms.\n+\n+<code-example path=\"forms-overview/src/app/template/favorite-color/favorite-color.component.ts\">\n+</code-example>\n+\n+The diagrams below shows how the data flows for an input with template-driven forms.\n+\n+<figure>\n+  <img src=\"generated/images/guide/forms-overview/dataflow-td-forms-vtm.png\" alt=\"Template-driven forms view to model data flow\" width=\"100%\">\n+</figure>\n+\n+From the view-to-model:\n+\n+1. The form input element emits an input event with the latest value.\n+1. The control value accessor uses the `NgModel` directive to update its model, queues an async task to set the value for the internal form control instance.\n+1. After the change detection cycle completes, the task to set the form control instance value is called, when then emits the latest value through the `valueChanges` observable.\n+1. The `ngModelChange` event fires on the `NgModel` directive, which then updates the `favoriteColor` value in the component.\n+\n+<figure>\n+  <img src=\"generated/images/guide/forms-overview/dataflow-td-forms-mtv.png\" alt=\"Template-driven forms model to view data flow\" width=\"100%\">\n+</figure>\n+\n+From the model-to-view:\n+\n+1. The `favoriteColor` value is updated in the component.\n+1. Change detection calls the `ngOnChanges` method on the `NgModel` directive instance, updates the `NgModel` instance model value, and queues an async task to set the value for the internal form control instance.\n+1. After the change detection cycle completes, the task to set the form control instance value is called, when then emits the latest value through the `valueChanges` observable.\n+1. The control value accessor updates the form input element in the view with the latest `favoriteColor` value.\n+\n+## Form validation\n+\n+Validation is an integral part of managing any set of forms. Whether you’re checking for required fields or querying an external API for an existing username, Angular provides a set of built-in validators as well as the ability to create custom validators. With reactive forms, custom validators are functions that receive a control to validate. Because template-driven forms are tied to directives, custom validator directives wrap validation functions to use it in a template.\n+\n+For more on form validation, see the [Form Validation](guide/form-validation) guide.\n+\n+## Testing \n+\n+Testing also plays a large part in complex applications and an easier testing strategy is always welcomed. One difference in testing reactive forms and template-driven forms is their reliance on rendering the UI in order to perform assertions based on form control and form field changes. The following examples demonstrate the process of testing forms with reactive and template-driven forms.\n+\n+### Testing a reactive form\n+\n+Reactive forms provide a relatively easy testing strategy to due to synchronous access to the form and data models, and being independent of the UI. In these set of tests, controls and data are queried and manipulated through the control without interacting with the change detection cycle. The following tests below use the favorite color components mentioned earlier to validate the view-to-model and model-to-view data flows for a reactive form.\n+\n+The following test validates the view-to-model data flow:\n+\n+<code-example path=\"forms-overview/src/app/reactive/favorite-color/favorite-color.component.spec.ts\" region=\"view-to-model\" title=\"Favorite color test (view-to-model)\">\n+</code-example>\n+\n+1. Query the view for the form input element, and create a custom input event for the test.\n+1. Set the new value for the input is set to *Red*, and dispatch the input event on the form input element.\n+1. Assert that the `favoriteColor` form control instance value matches in value from the input.\n+\n+The following test validates the model-to-view data flow:\n+\n+<code-example path=\"forms-overview/src/app/reactive/favorite-color/favorite-color.component.spec.ts\" region=\"model-to-view\" title=\"Favorite color test (model-to-view)\">\n+</code-example>\n+\n+1. Use the `favoriteColor` form control instance to set the new value.\n+1. Query the view for the form input element.\n+1. Assert that the new value set on the control matches the value in the input.\n+\n+### Testing a template-driven form\n+\n+Writing tests with template-driven forms is more involved and requires more detailed knowledge of the change detection process and how directives run on each cycle to ensure elements are queried, tested, or changed at the correct time. The following tests below use the favorite color components mentioned earlier to validate the view-to-model and model-to-view data flows for a template-driven form.\n+\n+The following test validates the view-to-model data flow:\n+\n+<code-example path=\"forms-overview/src/app/template/favorite-color/favorite-color.component.spec.ts\" region=\"view-to-model\" title=\"Favorite color test (view-to-model)\">\n+</code-example>\n+\n+1. Query the view for the form input element, and create a custom input event for the test.\n+1. Set the new value for the input is set to *Red*, and dispatch the input event on the form input element.\n+1. Use the `tick()` method to simulate passage of time within the `fakeAsync()` task.\n+1. Assert that the component `favoriteColor` property value matches the value from the input.\n+\n+The following test validates the model-to-view data flow:\n+\n+<code-example path=\"forms-overview/src/app/template/favorite-color/favorite-color.component.spec.ts\" region=\"model-to-view\" title=\"Favorite color test (model-to-view)\">\n+</code-example>\n+\n+1. Use the component instance to set the value of `favoriteColor` property.\n+1. Run change detection through the test fixture.\n+1. Use the `tick()` method to simulate passage of time within the `fakeAsync()` task.\n+1. Query the view for the form input element.\n+1. Assert that the input value matches the `favoriteColor` value property in the component instance.\n+\n+## Mutability\n+\n+How changes are tracked plays a role in the efficiency of your application.\n+\n+- Reactive forms keep the data model pure by providing it as an immutable data structure. Each time a change is triggered on the data model, a new data model is returned rather than updating the data model directly. This gives you the ability track unique changes to the data model. It also follows reactive patterns that integrate with observable operators to transform data.\n+- Template-driven forms rely on mutability with two-way data binding to update the data model in the component as changes are made in the template.\n+\n+This is demonstrated in the examples above using the **favorite color** input element. With reactive forms, the **form control instance** always returns a new value when the control's value is updated. With template-driven forms, the **favorite color property** is always modified to its new value.","path":"aio/content/guide/forms-overview.md","position":185,"original_position":185,"commit_id":"3e19c4ce5aae4cb413b5fcd364a98d527b18e3bb","original_commit_id":"3e19c4ce5aae4cb413b5fcd364a98d527b18e3bb","user":{"login":"jbogarthyde","id":31899326,"node_id":"MDQ6VXNlcjMxODk5MzI2","avatar_url":"https://avatars2.githubusercontent.com/u/31899326?v=4","gravatar_id":"","url":"https://api.github.com/users/jbogarthyde","html_url":"https://github.com/jbogarthyde","followers_url":"https://api.github.com/users/jbogarthyde/followers","following_url":"https://api.github.com/users/jbogarthyde/following{/other_user}","gists_url":"https://api.github.com/users/jbogarthyde/gists{/gist_id}","starred_url":"https://api.github.com/users/jbogarthyde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbogarthyde/subscriptions","organizations_url":"https://api.github.com/users/jbogarthyde/orgs","repos_url":"https://api.github.com/users/jbogarthyde/repos","events_url":"https://api.github.com/users/jbogarthyde/events{/privacy}","received_events_url":"https://api.github.com/users/jbogarthyde/received_events","type":"User","site_admin":false},"body":"This is demonstrated -> This difference is demonstrated","created_at":"2018-09-18T19:03:50Z","updated_at":"2018-09-18T19:03:50Z","html_url":"https://github.com/angular/angular/pull/25663#discussion_r218556493","pull_request_url":"https://api.github.com/repos/angular/angular/pulls/25663","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/comments/218556493"},"html":{"href":"https://github.com/angular/angular/pull/25663#discussion_r218556493"},"pull_request":{"href":"https://api.github.com/repos/angular/angular/pulls/25663"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/25663","id":210798243,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNzk4MjQz","html_url":"https://github.com/angular/angular/pull/25663","diff_url":"https://github.com/angular/angular/pull/25663.diff","patch_url":"https://github.com/angular/angular/pull/25663.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/25663","number":25663,"state":"open","locked":false,"title":"docs: add forms overview guide","user":{"login":"brandonroberts","id":42211,"node_id":"MDQ6VXNlcjQyMjEx","avatar_url":"https://avatars3.githubusercontent.com/u/42211?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonroberts","html_url":"https://github.com/brandonroberts","followers_url":"https://api.github.com/users/brandonroberts/followers","following_url":"https://api.github.com/users/brandonroberts/following{/other_user}","gists_url":"https://api.github.com/users/brandonroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonroberts/subscriptions","organizations_url":"https://api.github.com/users/brandonroberts/orgs","repos_url":"https://api.github.com/users/brandonroberts/repos","events_url":"https://api.github.com/users/brandonroberts/events{/privacy}","received_events_url":"https://api.github.com/users/brandonroberts/received_events","type":"User","site_admin":false},"body":"## PR Checklist\r\nPlease check if your PR fulfills the following requirements:\r\n\r\n- [ ] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit\r\n- [ ] Tests for the changes have been added (for bug fixes / features)\r\n- [x] Docs have been added / updated (for bug fixes / features)\r\n\r\n\r\n## PR Type\r\nWhat kind of change does this PR introduce?\r\n\r\n<!-- Please check the one that applies to this PR using \"x\". -->\r\n```\r\n[ ] Bugfix\r\n[ ] Feature\r\n[ ] Code style update (formatting, local variables)\r\n[ ] Refactoring (no functional changes, no api changes)\r\n[ ] Build related changes\r\n[ ] CI related changes\r\n[x] Documentation content changes\r\n[ ] angular.io application / infrastructure changes\r\n[ ] Other... Please describe:\r\n```\r\n\r\n## What is the current behavior?\r\n<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->\r\n\r\nIssue Number: N/A\r\n\r\n\r\n## What is the new behavior?\r\n\r\n\r\n## Does this PR introduce a breaking change?\r\n```\r\n[ ] Yes\r\n[x] No\r\n```\r\n\r\n<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->\r\n\r\n\r\n## Other information\r\n\r\nAdds Forms Overview page to Forms section. Reorganizes forms guides in nav also.","created_at":"2018-08-24T17:10:39Z","updated_at":"2018-09-18T19:03:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4373a63b4822b83e39f605091c576fc595d20a24","assignee":{"login":"brandonroberts","id":42211,"node_id":"MDQ6VXNlcjQyMjEx","avatar_url":"https://avatars3.githubusercontent.com/u/42211?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonroberts","html_url":"https://github.com/brandonroberts","followers_url":"https://api.github.com/users/brandonroberts/followers","following_url":"https://api.github.com/users/brandonroberts/following{/other_user}","gists_url":"https://api.github.com/users/brandonroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonroberts/subscriptions","organizations_url":"https://api.github.com/users/brandonroberts/orgs","repos_url":"https://api.github.com/users/brandonroberts/repos","events_url":"https://api.github.com/users/brandonroberts/events{/privacy}","received_events_url":"https://api.github.com/users/brandonroberts/received_events","type":"User","site_admin":false},"assignees":[{"login":"brandonroberts","id":42211,"node_id":"MDQ6VXNlcjQyMjEx","avatar_url":"https://avatars3.githubusercontent.com/u/42211?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonroberts","html_url":"https://github.com/brandonroberts","followers_url":"https://api.github.com/users/brandonroberts/followers","following_url":"https://api.github.com/users/brandonroberts/following{/other_user}","gists_url":"https://api.github.com/users/brandonroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonroberts/subscriptions","organizations_url":"https://api.github.com/users/brandonroberts/orgs","repos_url":"https://api.github.com/users/brandonroberts/repos","events_url":"https://api.github.com/users/brandonroberts/events{/privacy}","received_events_url":"https://api.github.com/users/brandonroberts/received_events","type":"User","site_admin":false},{"login":"kara","id":3871688,"node_id":"MDQ6VXNlcjM4NzE2ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/3871688?v=4","gravatar_id":"","url":"https://api.github.com/users/kara","html_url":"https://github.com/kara","followers_url":"https://api.github.com/users/kara/followers","following_url":"https://api.github.com/users/kara/following{/other_user}","gists_url":"https://api.github.com/users/kara/gists{/gist_id}","starred_url":"https://api.github.com/users/kara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kara/subscriptions","organizations_url":"https://api.github.com/users/kara/orgs","repos_url":"https://api.github.com/users/kara/repos","events_url":"https://api.github.com/users/kara/events{/privacy}","received_events_url":"https://api.github.com/users/kara/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":217969169,"node_id":"MDU6TGFiZWwyMTc5NjkxNjk=","url":"https://api.github.com/repos/angular/angular/labels/PR%20action:%20review","name":"PR action: review","color":"fbca04","default":false},{"id":655699838,"node_id":"MDU6TGFiZWw2NTU2OTk4Mzg=","url":"https://api.github.com/repos/angular/angular/labels/PR%20target:%20master%20&%20patch","name":"PR target: master & patch","color":"5319e7","default":false},{"id":633027559,"node_id":"MDU6TGFiZWw2MzMwMjc1NTk=","url":"https://api.github.com/repos/angular/angular/labels/aio:%20preview","name":"aio: preview","color":"1d76db","default":false},{"id":149476251,"node_id":"MDU6TGFiZWwxNDk0NzYyNTE=","url":"https://api.github.com/repos/angular/angular/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false},{"id":175085143,"node_id":"MDU6TGFiZWwxNzUwODUxNDM=","url":"https://api.github.com/repos/angular/angular/labels/comp:%20docs","name":"comp: docs","color":"c7def8","default":false},{"id":393879365,"node_id":"MDU6TGFiZWwzOTM4NzkzNjU=","url":"https://api.github.com/repos/angular/angular/labels/comp:%20forms","name":"comp: forms","color":"c5def5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/25663/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/25663/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/25663/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/3e19c4ce5aae4cb413b5fcd364a98d527b18e3bb","head":{"label":"brandonroberts:forms-overview","ref":"forms-overview","sha":"3e19c4ce5aae4cb413b5fcd364a98d527b18e3bb","user":{"login":"brandonroberts","id":42211,"node_id":"MDQ6VXNlcjQyMjEx","avatar_url":"https://avatars3.githubusercontent.com/u/42211?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonroberts","html_url":"https://github.com/brandonroberts","followers_url":"https://api.github.com/users/brandonroberts/followers","following_url":"https://api.github.com/users/brandonroberts/following{/other_user}","gists_url":"https://api.github.com/users/brandonroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonroberts/subscriptions","organizations_url":"https://api.github.com/users/brandonroberts/orgs","repos_url":"https://api.github.com/users/brandonroberts/repos","events_url":"https://api.github.com/users/brandonroberts/events{/privacy}","received_events_url":"https://api.github.com/users/brandonroberts/received_events","type":"User","site_admin":false},"repo":{"id":41838951,"node_id":"MDEwOlJlcG9zaXRvcnk0MTgzODk1MQ==","name":"angular","full_name":"brandonroberts/angular","private":false,"owner":{"login":"brandonroberts","id":42211,"node_id":"MDQ6VXNlcjQyMjEx","avatar_url":"https://avatars3.githubusercontent.com/u/42211?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonroberts","html_url":"https://github.com/brandonroberts","followers_url":"https://api.github.com/users/brandonroberts/followers","following_url":"https://api.github.com/users/brandonroberts/following{/other_user}","gists_url":"https://api.github.com/users/brandonroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonroberts/subscriptions","organizations_url":"https://api.github.com/users/brandonroberts/orgs","repos_url":"https://api.github.com/users/brandonroberts/repos","events_url":"https://api.github.com/users/brandonroberts/events{/privacy}","received_events_url":"https://api.github.com/users/brandonroberts/received_events","type":"User","site_admin":false},"html_url":"https://github.com/brandonroberts/angular","description":null,"fork":true,"url":"https://api.github.com/repos/brandonroberts/angular","forks_url":"https://api.github.com/repos/brandonroberts/angular/forks","keys_url":"https://api.github.com/repos/brandonroberts/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brandonroberts/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brandonroberts/angular/teams","hooks_url":"https://api.github.com/repos/brandonroberts/angular/hooks","issue_events_url":"https://api.github.com/repos/brandonroberts/angular/issues/events{/number}","events_url":"https://api.github.com/repos/brandonroberts/angular/events","assignees_url":"https://api.github.com/repos/brandonroberts/angular/assignees{/user}","branches_url":"https://api.github.com/repos/brandonroberts/angular/branches{/branch}","tags_url":"https://api.github.com/repos/brandonroberts/angular/tags","blobs_url":"https://api.github.com/repos/brandonroberts/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brandonroberts/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brandonroberts/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/brandonroberts/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brandonroberts/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/brandonroberts/angular/languages","stargazers_url":"https://api.github.com/repos/brandonroberts/angular/stargazers","contributors_url":"https://api.github.com/repos/brandonroberts/angular/contributors","subscribers_url":"https://api.github.com/repos/brandonroberts/angular/subscribers","subscription_url":"https://api.github.com/repos/brandonroberts/angular/subscription","commits_url":"https://api.github.com/repos/brandonroberts/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/brandonroberts/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/brandonroberts/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/brandonroberts/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/brandonroberts/angular/contents/{+path}","compare_url":"https://api.github.com/repos/brandonroberts/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brandonroberts/angular/merges","archive_url":"https://api.github.com/repos/brandonroberts/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brandonroberts/angular/downloads","issues_url":"https://api.github.com/repos/brandonroberts/angular/issues{/number}","pulls_url":"https://api.github.com/repos/brandonroberts/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/brandonroberts/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/brandonroberts/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brandonroberts/angular/labels{/name}","releases_url":"https://api.github.com/repos/brandonroberts/angular/releases{/id}","deployments_url":"https://api.github.com/repos/brandonroberts/angular/deployments","created_at":"2015-09-03T02:44:48Z","updated_at":"2018-05-06T18:15:36Z","pushed_at":"2018-09-18T18:25:59Z","git_url":"git://github.com/brandonroberts/angular.git","ssh_url":"git@github.com:brandonroberts/angular.git","clone_url":"https://github.com/brandonroberts/angular.git","svn_url":"https://github.com/brandonroberts/angular","homepage":"https://angular.io","size":82562,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"8f81dba367912d5c905dcd90893475e563bc2eea","user":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyNDE5NTMzOQ==","name":"angular","full_name":"angular/angular","private":false,"owner":{"login":"angular","id":139426,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzOTQyNg==","avatar_url":"https://avatars3.githubusercontent.com/u/139426?v=4","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},"html_url":"https://github.com/angular/angular","description":"One framework. Mobile & desktop.","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}","deployments_url":"https://api.github.com/repos/angular/angular/deployments","created_at":"2014-09-18T16:12:01Z","updated_at":"2018-09-18T18:54:43Z","pushed_at":"2018-09-18T18:26:04Z","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":85983,"stargazers_count":40731,"watchers_count":40731,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10016,"mirror_url":null,"archived":false,"open_issues_count":2488,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":10016,"open_issues":2488,"watchers":40731,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/25663"},"html":{"href":"https://github.com/angular/angular/pull/25663"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/25663"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/25663/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/25663/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/25663/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/3e19c4ce5aae4cb413b5fcd364a98d527b18e3bb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jbogarthyde"}}