{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/13616","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/13616/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/13616/comments","events_url":"https://api.github.com/repos/angular/angular/issues/13616/events","html_url":"https://github.com/angular/angular/issues/13616","id":196992507,"number":13616,"title":"Angular - router - outlets - urls are not friendly and shouldn't show the outlet id (it is not a good behavior)","user":{"login":"danicomas","id":4038192,"avatar_url":"https://avatars.githubusercontent.com/u/4038192?v=3","gravatar_id":"","url":"https://api.github.com/users/danicomas","html_url":"https://github.com/danicomas","followers_url":"https://api.github.com/users/danicomas/followers","following_url":"https://api.github.com/users/danicomas/following{/other_user}","gists_url":"https://api.github.com/users/danicomas/gists{/gist_id}","starred_url":"https://api.github.com/users/danicomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danicomas/subscriptions","organizations_url":"https://api.github.com/users/danicomas/orgs","repos_url":"https://api.github.com/users/danicomas/repos","events_url":"https://api.github.com/users/danicomas/events{/privacy}","received_events_url":"https://api.github.com/users/danicomas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-21T17:44:23Z","updated_at":"2016-12-22T02:37:17Z","closed_at":"2016-12-22T02:37:17Z","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\nhttp://localhost:8080/#/users/danicomas/images doesn't work now\r\nhttp://localhost:8080/#/users/danicomas/(user:images) it works\r\n\r\n**Expected behavior**\r\nhttp://localhost:8080/#/users/danicomas/images (remove parentesis and outlet name, this not make sense, the url is not friendly for the users. It is not a good approach)\r\n\r\n**Minimal reproduction of the problem with instructions**\r\n```\r\nconst appRoutes: Routes = [\r\n  { path: '', redirectTo: 'users', pathMatch: 'full' },\r\n  { path: 'users', component: UsersComponent },\r\n  { path: 'users/:id', component: UserComponent, children: [\r\n      { path: 'images', component: UserImagesComponent, outlet: 'user' },\r\n  ]}\r\n];\r\n\r\n@Component({\r\n\ttemplate: `\r\n\t<h1>{{id}}</h1>\r\n\t<nav>\r\n      <ul class=\"nav nav-tabs\">\r\n        <li><a [routerLink]=\"[ '/users/' + id ]\">About Me</a></li>\r\n        <li><a [routerLink]=\"[ '/users/' + id, {outlets: {'user': ['images']}} ]\">Images</a></li>\r\n\t  </ul>\r\n\t  </nav>\r\n\t<router-outlet name='user'></router-outlet>\r\n  `\r\n})\r\n```\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\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.4.0\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\n* **Browser:** [Chrome 55]\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":"robwormald"}}