{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular/pulls/comments/148528141","pull_request_review_id":73782210,"id":148528141,"diff_hunk":"@@ -124,58 +128,42 @@ You can call the one _root_ component anything you want but most developers call\n \n Which brings us to the _bootstrapping_ process itself.\n \n-\n {@a main}\n \n ## Bootstrap in _main.ts_\n \n-There are many ways to bootstrap an application.\n-The variations depend upon how you want to compile the application and where you want to run it.\n-\n-In the beginning, you will compile the application dynamically with the _Just-in-Time (JIT)_ compiler\n-and you'll run it in a browser. You can learn about other options later.\n-\n-The recommended place to bootstrap a JIT-compiled browser application is in a separate file\n-in the `src` folder named `src/main.ts`\n-\n-<code-example path=\"setup/src/main.ts\" title=\"src/main.ts\" linenums=\"false\">\n+While there are many ways to bootstrap an application, most applications do so in the `src/main.ts` that is generated by the Angular CLI.\n \n+<code-example path=\"cli-quickstart/src/main.ts\" title=\"src/main.ts\" linenums=\"false\">\n </code-example>\n \n-\n-\n-This code creates a browser platform for dynamic (JIT) compilation and\n+This code creates a browser platform for dynamic compilation and\n bootstraps the `AppModule` described above.\n \n The _bootstrapping_ process sets up the execution environment,\n digs the _root_ `AppComponent` out of the module's `bootstrap` array,\n creates an instance of the component and inserts it within the element tag identified by the component's `selector`.\n \n-The `AppComponent` selector &mdash; here and in most documentation samples &mdash; is `my-app`\n-so Angular looks for a `<my-app>` tag in the `index.html` like this one ...\n-\n-<code-example path=\"setup/src/index.html\" region=\"my-app\" title=\"setup/src/index.html\" linenums=\"false\">\n+The `AppComponent` selector &mdash; here and in most documentation samples &mdash; is `app-root`\n+so Angular looks for a `<app-root>` tag in the `index.html` like this one ...\n \n-</code-example>\n+<code-example title=\"src/index.html (body)\" linenums=\"false\">\n \n+  &lt;body>\n+    &lt;app-root>&lt;/app-root>\n+  &lt;/body>\n \n+</code-example>\n \n ... and displays the `AppComponent` there.\n \n-This file is very stable. Once you've set it up, you may never change it again.\n-\n-\n-<l-main-section>\n-\n-</l-main-section>\n-\n-\n+The `main.ts` file is very stable. Once you've set it up, you may never change it again.\n \n-## More about NgModules\n+## More about Angular Modules\n \n Your initial app has only a single module, the _root_ module.\n As your app grows, you'll consider subdividing it into multiple \"feature\" modules,\n some of which can be loaded later (\"lazy loaded\") if and when the user chooses\n to visit those features.\n \n-When you're ready to explore these possibilities, visit the [NgModules](guide/ngmodule) guide.\n+When you're ready to explore these possibilities, visit the [Angular Module](guide/ngmodule) guide.","path":"aio/content/guide/bootstrapping.md","position":239,"original_position":239,"commit_id":"1ff3ec50f174b15e7089e3494bd5b1086c7fc9c6","original_commit_id":"1ff3ec50f174b15e7089e3494bd5b1086c7fc9c6","user":{"login":"gkalpak","id":8604205,"avatar_url":"https://avatars2.githubusercontent.com/u/8604205?v=4","gravatar_id":"","url":"https://api.github.com/users/gkalpak","html_url":"https://github.com/gkalpak","followers_url":"https://api.github.com/users/gkalpak/followers","following_url":"https://api.github.com/users/gkalpak/following{/other_user}","gists_url":"https://api.github.com/users/gkalpak/gists{/gist_id}","starred_url":"https://api.github.com/users/gkalpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkalpak/subscriptions","organizations_url":"https://api.github.com/users/gkalpak/orgs","repos_url":"https://api.github.com/users/gkalpak/repos","events_url":"https://api.github.com/users/gkalpak/events{/privacy}","received_events_url":"https://api.github.com/users/gkalpak/received_events","type":"User","site_admin":false},"body":"_Angular Module_ --> _Angular Modules_","created_at":"2017-11-02T13:14:57Z","updated_at":"2017-11-02T13:22:55Z","html_url":"https://github.com/angular/angular/pull/19777#discussion_r148528141","pull_request_url":"https://api.github.com/repos/angular/angular/pulls/19777","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/comments/148528141"},"html":{"href":"https://github.com/angular/angular/pull/19777#discussion_r148528141"},"pull_request":{"href":"https://api.github.com/repos/angular/angular/pulls/19777"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/19777","id":147230731,"html_url":"https://github.com/angular/angular/pull/19777","diff_url":"https://github.com/angular/angular/pull/19777.diff","patch_url":"https://github.com/angular/angular/pull/19777.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/19777","number":19777,"state":"open","locked":false,"title":"docs: Bootstrapping guide prose for CLI","user":{"login":"wardbell","id":129061,"avatar_url":"https://avatars1.githubusercontent.com/u/129061?v=4","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":"See issue #19510.\r\n\r\n## 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","created_at":"2017-10-18T07:52:45Z","updated_at":"2017-11-02T13:22:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa8f3bb043e65fe319c8cdbf3bdbffbe3060070d","assignee":{"login":"wardbell","id":129061,"avatar_url":"https://avatars1.githubusercontent.com/u/129061?v=4","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},"assignees":[{"login":"wardbell","id":129061,"avatar_url":"https://avatars1.githubusercontent.com/u/129061?v=4","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}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/77","html_url":"https://github.com/angular/angular/milestone/77","labels_url":"https://api.github.com/repos/angular/angular/milestones/77/labels","id":2882013,"number":77,"title":"5.0.x","description":"","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars3.githubusercontent.com/u/216296?v=4","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2017-11-01T22:43:23Z","updated_at":"2017-11-02T12:55:23Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/angular/angular/pulls/19777/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/19777/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/19777/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/1ff3ec50f174b15e7089e3494bd5b1086c7fc9c6","head":{"label":"IdeaBlade:clify-bootstrapping","ref":"clify-bootstrapping","sha":"1ff3ec50f174b15e7089e3494bd5b1086c7fc9c6","user":{"login":"IdeaBlade","id":1630193,"avatar_url":"https://avatars1.githubusercontent.com/u/1630193?v=4","gravatar_id":"","url":"https://api.github.com/users/IdeaBlade","html_url":"https://github.com/IdeaBlade","followers_url":"https://api.github.com/users/IdeaBlade/followers","following_url":"https://api.github.com/users/IdeaBlade/following{/other_user}","gists_url":"https://api.github.com/users/IdeaBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/IdeaBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdeaBlade/subscriptions","organizations_url":"https://api.github.com/users/IdeaBlade/orgs","repos_url":"https://api.github.com/users/IdeaBlade/repos","events_url":"https://api.github.com/users/IdeaBlade/events{/privacy}","received_events_url":"https://api.github.com/users/IdeaBlade/received_events","type":"Organization","site_admin":false},"repo":{"id":47753963,"name":"angular","full_name":"IdeaBlade/angular","owner":{"login":"IdeaBlade","id":1630193,"avatar_url":"https://avatars1.githubusercontent.com/u/1630193?v=4","gravatar_id":"","url":"https://api.github.com/users/IdeaBlade","html_url":"https://github.com/IdeaBlade","followers_url":"https://api.github.com/users/IdeaBlade/followers","following_url":"https://api.github.com/users/IdeaBlade/following{/other_user}","gists_url":"https://api.github.com/users/IdeaBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/IdeaBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdeaBlade/subscriptions","organizations_url":"https://api.github.com/users/IdeaBlade/orgs","repos_url":"https://api.github.com/users/IdeaBlade/repos","events_url":"https://api.github.com/users/IdeaBlade/events{/privacy}","received_events_url":"https://api.github.com/users/IdeaBlade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IdeaBlade/angular","description":null,"fork":true,"url":"https://api.github.com/repos/IdeaBlade/angular","forks_url":"https://api.github.com/repos/IdeaBlade/angular/forks","keys_url":"https://api.github.com/repos/IdeaBlade/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IdeaBlade/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IdeaBlade/angular/teams","hooks_url":"https://api.github.com/repos/IdeaBlade/angular/hooks","issue_events_url":"https://api.github.com/repos/IdeaBlade/angular/issues/events{/number}","events_url":"https://api.github.com/repos/IdeaBlade/angular/events","assignees_url":"https://api.github.com/repos/IdeaBlade/angular/assignees{/user}","branches_url":"https://api.github.com/repos/IdeaBlade/angular/branches{/branch}","tags_url":"https://api.github.com/repos/IdeaBlade/angular/tags","blobs_url":"https://api.github.com/repos/IdeaBlade/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IdeaBlade/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IdeaBlade/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/IdeaBlade/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IdeaBlade/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/IdeaBlade/angular/languages","stargazers_url":"https://api.github.com/repos/IdeaBlade/angular/stargazers","contributors_url":"https://api.github.com/repos/IdeaBlade/angular/contributors","subscribers_url":"https://api.github.com/repos/IdeaBlade/angular/subscribers","subscription_url":"https://api.github.com/repos/IdeaBlade/angular/subscription","commits_url":"https://api.github.com/repos/IdeaBlade/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/IdeaBlade/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/IdeaBlade/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/IdeaBlade/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/IdeaBlade/angular/contents/{+path}","compare_url":"https://api.github.com/repos/IdeaBlade/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IdeaBlade/angular/merges","archive_url":"https://api.github.com/repos/IdeaBlade/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IdeaBlade/angular/downloads","issues_url":"https://api.github.com/repos/IdeaBlade/angular/issues{/number}","pulls_url":"https://api.github.com/repos/IdeaBlade/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/IdeaBlade/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/IdeaBlade/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IdeaBlade/angular/labels{/name}","releases_url":"https://api.github.com/repos/IdeaBlade/angular/releases{/id}","deployments_url":"https://api.github.com/repos/IdeaBlade/angular/deployments","created_at":"2015-12-10T10:12:02Z","updated_at":"2017-02-09T18:04:01Z","pushed_at":"2017-11-02T13:00:50Z","git_url":"git://github.com/IdeaBlade/angular.git","ssh_url":"git@github.com:IdeaBlade/angular.git","clone_url":"https://github.com/IdeaBlade/angular.git","svn_url":"https://github.com/IdeaBlade/angular","homepage":"https://angular.io","size":120264,"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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"3db7112b89c609389abd8b48b0610f9c6f9510a6","user":{"login":"angular","id":139426,"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,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"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},"private":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":"2017-11-02T12:40:59Z","pushed_at":"2017-11-02T13:00:53Z","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":68419,"stargazers_count":29499,"watchers_count":29499,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7345,"mirror_url":null,"archived":false,"open_issues_count":2232,"forks":7345,"open_issues":2232,"watchers":29499,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/19777"},"html":{"href":"https://github.com/angular/angular/pull/19777"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/19777"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/19777/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/19777/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/19777/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/1ff3ec50f174b15e7089e3494bd5b1086c7fc9c6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gkalpak"}}