{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/5334","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/5334/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/5334/comments","events_url":"https://api.github.com/repos/angular/angular/issues/5334/events","html_url":"https://github.com/angular/angular/issues/5334","id":117346922,"number":5334,"title":"router-link-active not working for nested routes","user":{"login":"choeller","id":423277,"avatar_url":"https://avatars.githubusercontent.com/u/423277?v=3","gravatar_id":"","url":"https://api.github.com/users/choeller","html_url":"https://github.com/choeller","followers_url":"https://api.github.com/users/choeller/followers","following_url":"https://api.github.com/users/choeller/following{/other_user}","gists_url":"https://api.github.com/users/choeller/gists{/gist_id}","starred_url":"https://api.github.com/users/choeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choeller/subscriptions","organizations_url":"https://api.github.com/users/choeller/orgs","repos_url":"https://api.github.com/users/choeller/repos","events_url":"https://api.github.com/users/choeller/events{/privacy}","received_events_url":"https://api.github.com/users/choeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20router-deprecated","name":"comp: router-deprecated","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort1:%20easy%20(hour)","name":"effort1: easy (hour)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/P2:%20required","name":"P2: required","color":"fad8c7"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20bug","name":"type: bug","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-17T12:37:23Z","updated_at":"2016-06-13T07:15:53Z","closed_at":"2016-06-13T07:15:53Z","body":"When working with nested routes, all links to routes under a common root-path get the router-link-active class. E.g having two links like this:\r\n```\r\n<li>\r\n    <a [router-link]=\"['/Tasks', 'List']\" class=\"link\">Task Overview</a>\r\n</li>\r\n<li>\r\n     <a [router-link]=\"['/Tasks', 'NewTask']\" class=\"link\">New Task</a>\r\n</li>\r\n```\r\n\r\nnavigating to \"#/tasks/lists\" results in the following DOM:\r\n\r\n```\r\n<li _ngcontent-sno-1=\"\">\r\n      <a class=\"link router-link-active\" _ngcontent-sno-1=\"\" href=\"#/tasks/list\">Task Overview</a>\r\n</li>\r\n    \r\n<li _ngcontent-sno-1=\"\">\r\n     <a class=\"link router-link-active\" _ngcontent-sno-1=\"\" href=\"#/tasks/new\">New Task</a>\r\n</li>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/225505111","html_url":"https://github.com/angular/angular/issues/5334#issuecomment-225505111","issue_url":"https://api.github.com/repos/angular/angular/issues/5334","id":225505111,"user":{"login":"choeller","id":423277,"avatar_url":"https://avatars.githubusercontent.com/u/423277?v=3","gravatar_id":"","url":"https://api.github.com/users/choeller","html_url":"https://github.com/choeller","followers_url":"https://api.github.com/users/choeller/followers","following_url":"https://api.github.com/users/choeller/following{/other_user}","gists_url":"https://api.github.com/users/choeller/gists{/gist_id}","starred_url":"https://api.github.com/users/choeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choeller/subscriptions","organizations_url":"https://api.github.com/users/choeller/orgs","repos_url":"https://api.github.com/users/choeller/repos","events_url":"https://api.github.com/users/choeller/events{/privacy}","received_events_url":"https://api.github.com/users/choeller/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T07:15:53Z","updated_at":"2016-06-13T07:15:53Z","body":"Yeah, as of https://github.com/angular/vladivostok/issues/24 there might be a new solution for this, so I'll close this one... "}}
{"actor":{"display_login":"choeller"}}