{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6260","labels_url":"https://api.github.com/repos/angular/angular/issues/6260/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6260/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6260/events","html_url":"https://github.com/angular/angular/issues/6260","id":124846587,"number":6260,"title":"Location API needs to expose more information about current route","user":{"login":"pdeva","id":3190176,"avatar_url":"https://avatars.githubusercontent.com/u/3190176?v=3","gravatar_id":"","url":"https://api.github.com/users/pdeva","html_url":"https://github.com/pdeva","followers_url":"https://api.github.com/users/pdeva/followers","following_url":"https://api.github.com/users/pdeva/following{/other_user}","gists_url":"https://api.github.com/users/pdeva/gists{/gist_id}","starred_url":"https://api.github.com/users/pdeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdeva/subscriptions","organizations_url":"https://api.github.com/users/pdeva/orgs","repos_url":"https://api.github.com/users/pdeva/repos","events_url":"https://api.github.com/users/pdeva/events{/privacy}","received_events_url":"https://api.github.com/users/pdeva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-04T21:47:22Z","updated_at":"2016-01-05T07:02:20Z","closed_at":null,"body":"Currently it just gives a full url which is too little info.\r\n\r\nIt should give info about the actual route objects too.\r\n\r\nCurrently if you are say at a route and want to go to its child and/or parent or retrieve some 'params' data from child/parent route, you have to do insane regex magic, specially if the path is composed of params.\r\n\r\nPeople are taking to [tracking every single route transition](http://stackoverflow.com/questions/34597835/how-to-get-current-route-in-angular-2/34598745?noredirect=1#comment56943240_34598745) to try to build this themselves.\r\n\r\nPlease provide more data than just the url in the `Location` object."},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/168919837","html_url":"https://github.com/angular/angular/issues/6260#issuecomment-168919837","issue_url":"https://api.github.com/repos/angular/angular/issues/6260","id":168919837,"user":{"login":"NathanWalker","id":457187,"avatar_url":"https://avatars.githubusercontent.com/u/457187?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanWalker","html_url":"https://github.com/NathanWalker","followers_url":"https://api.github.com/users/NathanWalker/followers","following_url":"https://api.github.com/users/NathanWalker/following{/other_user}","gists_url":"https://api.github.com/users/NathanWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanWalker/subscriptions","organizations_url":"https://api.github.com/users/NathanWalker/orgs","repos_url":"https://api.github.com/users/NathanWalker/repos","events_url":"https://api.github.com/users/NathanWalker/events{/privacy}","received_events_url":"https://api.github.com/users/NathanWalker/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T07:02:20Z","updated_at":"2016-01-05T07:02:20Z","body":"It would help to at least have this as well:\r\nhttps://github.com/angular/angular/pull/4905"}}