{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/12049","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/12049/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/12049/comments","events_url":"https://api.github.com/repos/angular/angular/issues/12049/events","html_url":"https://github.com/angular/angular/issues/12049","id":180739808,"number":12049,"title":"Conflict in Style Guide between app structure and demo code","user":{"login":"pthalacker","id":4304902,"avatar_url":"https://avatars.githubusercontent.com/u/4304902?v=3","gravatar_id":"","url":"https://api.github.com/users/pthalacker","html_url":"https://github.com/pthalacker","followers_url":"https://api.github.com/users/pthalacker/followers","following_url":"https://api.github.com/users/pthalacker/following{/other_user}","gists_url":"https://api.github.com/users/pthalacker/gists{/gist_id}","starred_url":"https://api.github.com/users/pthalacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pthalacker/subscriptions","organizations_url":"https://api.github.com/users/pthalacker/orgs","repos_url":"https://api.github.com/users/pthalacker/repos","events_url":"https://api.github.com/users/pthalacker/events{/privacy}","received_events_url":"https://api.github.com/users/pthalacker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-03T20:34:34Z","updated_at":"2016-10-03T20:36:18Z","closed_at":"2016-10-03T20:36:18Z","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\n<!-- Describe how the bug manifests. -->\r\nIn the Style Guide the file and folder structure shows the app.component.ts file in src/app\r\nBut the demo code for app.module.ts, which resides in the root of src has this line of code\r\n`import { AppComponent }   from './app.component';`\r\n\r\n**Expected behavior**\r\n<!-- Describe what the behavior would be without the bug. -->\r\nThe above line of code would say\r\n`import { AppComponent }   from './app/app.component';`\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nNavigate to https://angular.io/docs/ts/latest/guide/style-guide.html#!#app-structure-and-angular-modules and scroll down to the app.module.ts file code\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n<!-- Describe the motivation or the concrete use case -->\r\nTo prevent new developers who use the awesome copy code feature in the docs from experiencing unnecessary errors\r\n\r\n**Please tell us about your environment:**\r\n<!-- Operating system, IDE, package manager, HTTP server, ... -->\r\n\r\n* **Angular version:** 2.0.X\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\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\n<!-- All browsers where this could be reproduced -->\r\n \r\n* **Language:** [all | TypeScript X.X | ES6/7 | ES5]\r\n\r\n* **Node (for AoT issues):** `node --version` =   \r\n"}}
{"actor":{"display_login":"vicb"}}