{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/16585","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/16585/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/16585/comments","events_url":"https://api.github.com/repos/angular/angular/issues/16585/events","html_url":"https://github.com/angular/angular/issues/16585","id":226597740,"node_id":"MDU6SXNzdWUyMjY1OTc3NDA=","number":16585,"title":"docs: toh-pt5 - add Router import line at \"Update the HeroesComponent class\" section","user":{"login":"stemar","id":1074960,"node_id":"MDQ6VXNlcjEwNzQ5NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1074960?v=4","gravatar_id":"","url":"https://api.github.com/users/stemar","html_url":"https://github.com/stemar","followers_url":"https://api.github.com/users/stemar/followers","following_url":"https://api.github.com/users/stemar/following{/other_user}","gists_url":"https://api.github.com/users/stemar/gists{/gist_id}","starred_url":"https://api.github.com/users/stemar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stemar/subscriptions","organizations_url":"https://api.github.com/users/stemar/orgs","repos_url":"https://api.github.com/users/stemar/repos","events_url":"https://api.github.com/users/stemar/events{/privacy}","received_events_url":"https://api.github.com/users/stemar/received_events","type":"User","site_admin":false},"labels":[{"id":175085143,"node_id":"MDU6TGFiZWwxNzUwODUxNDM=","url":"https://api.github.com/repos/angular/angular/labels/comp:%20docs","name":"comp: docs","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-05T14:51:35Z","updated_at":"2019-09-11T23:22:43Z","closed_at":"2017-06-28T17:25:09Z","author_association":"NONE","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\nOn the `toh-pt5.html` tutorial page, after we go through the section called \"Update the HeroesComponent class\", we get an error, either: \"Can't resolve all parameters for HeroesComponent\" or an error related to a missing Router module.\r\n\r\n**Expected behavior**\r\nThe page refresh would display successfully the Top Heroes boxes in our local environment.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nAt the section called \"Update the HeroesComponent class\", number 1 is:\r\n```\r\n1. Import the Router from the Angular router library.\r\n```\r\nand the box that displays: `src/app/heroes.component.ts (class)` doesn't show the entire file content which would include:\r\n```\r\nimport { Router } from '@angular/router';\r\n```\r\nnear the top of the file.\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\nFor a beginner, it's better to explicitly show the line:\r\n```\r\nimport { Router } from '@angular/router';\r\n```\r\nfor the correct syntax and the correct position of the line in the `heroes.component.ts` file to avoid the console error in the browser.\r\n\r\n**Please tell us about your environment:**\r\nDebian 8, npm 3.10.10\r\n\r\n* **Angular version:** 2.0.X\r\nv 4.0.2\r\n\r\n* **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]\r\nall\r\n\r\n* **Language:** [all | TypeScript X.X | ES6/7 | ES5]\r\nall\r\n\r\n* **Node (for AoT issues):** `node --version` =   \r\nv 6.10.2\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/530602761","html_url":"https://github.com/angular/angular/issues/16585#issuecomment-530602761","issue_url":"https://api.github.com/repos/angular/angular/issues/16585","id":530602761,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMDYwMjc2MQ==","user":{"login":"angular-automatic-lock-bot[bot]","id":54863671,"node_id":"MDM6Qm90NTQ4NjM2NzE=","avatar_url":"https://avatars0.githubusercontent.com/in/40213?v=4","gravatar_id":"","url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D","html_url":"https://github.com/apps/angular-automatic-lock-bot","followers_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/followers","following_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/repos","events_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/angular-automatic-lock-bot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-09-11T23:22:43Z","updated_at":"2019-09-11T23:22:43Z","author_association":"NONE","body":"This issue has been automatically locked due to inactivity.\nPlease file a new issue if you are encountering a similar or related problem.\n\nRead more about our [automatic conversation locking policy](https://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking).\n\n<sub>_This action has been performed automatically by a bot._</sub>"}}
{"actor":{"display_login":"angular-automatic-lock-bot"}}