{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6358","labels_url":"https://api.github.com/repos/angular/angular/issues/6358/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6358/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6358/events","html_url":"https://github.com/angular/angular/issues/6358","id":125684368,"number":6358,"title":"Router: child link href is not generated correctly by router","user":{"login":"mkrishna4ua","id":16600129,"avatar_url":"https://avatars.githubusercontent.com/u/16600129?v=3","gravatar_id":"","url":"https://api.github.com/users/mkrishna4ua","html_url":"https://github.com/mkrishna4ua","followers_url":"https://api.github.com/users/mkrishna4ua/followers","following_url":"https://api.github.com/users/mkrishna4ua/following{/other_user}","gists_url":"https://api.github.com/users/mkrishna4ua/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrishna4ua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrishna4ua/subscriptions","organizations_url":"https://api.github.com/users/mkrishna4ua/orgs","repos_url":"https://api.github.com/users/mkrishna4ua/repos","events_url":"https://api.github.com/users/mkrishna4ua/events{/privacy}","received_events_url":"https://api.github.com/users/mkrishna4ua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-08T20:11:35Z","updated_at":"2016-01-15T23:05:04Z","closed_at":null,"body":"Browser: Chrome\r\ni specified routes and links as follows:\r\nTOP ROUTE:\r\nnew AsyncRoute({\r\n    path: '/admin',\r\n    loader: () => System.import('app/admin/admin').then(m => m.Admin),\r\n    name: 'Admin'\r\n  })\r\n\r\nCHILD ROUTE:\r\nnew AsyncRoute({\r\n    path: '/securitymgmt',\r\n    loader: () => System.import('app/admin/security-mgmt/security-mgmt').then(m => m.SecurityMgmt),\r\n    name: 'SecurityMgmt'\r\n  }),\r\n\r\nAnd LINK:\r\n`<a [routerLink]=\"['/Admin/SecurityMgmt']\">Security Management</a>`\r\n\r\nOn web browser it generates href for link given sbove as follows:\r\n`<a href=\"#/admin\" class=\"router-link-active\">Security Management</a>`\r\n\r\nBut it should generate href for link as given below:\r\n`<a href=\"#/admin/securitymgmt\" class=\"router-link-active\">Security Management</a>`\r\n\r\nPlease fix this problem. Thanks."},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/172121903","html_url":"https://github.com/angular/angular/issues/6358#issuecomment-172121903","issue_url":"https://api.github.com/repos/angular/angular/issues/6358","id":172121903,"user":{"login":"brandonroberts","id":42211,"avatar_url":"https://avatars.githubusercontent.com/u/42211?v=3","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},"created_at":"2016-01-15T23:05:04Z","updated_at":"2016-01-15T23:05:04Z","body":"You should file a separate issue about async routes not opening in a new window."}}