{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/2845","labels_url":"https://api.github.com/repos/angular/angular/issues/2845/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/2845/comments","events_url":"https://api.github.com/repos/angular/angular/issues/2845/events","html_url":"https://github.com/angular/angular/issues/2845","id":92569810,"number":2845,"title":"feat(router): improve RouterLink usability with a Link DSL","user":{"login":"vicb","id":248818,"avatar_url":"https://avatars.githubusercontent.com/u/248818?v=3","gravatar_id":"","url":"https://api.github.com/users/vicb","html_url":"https://github.com/vicb","followers_url":"https://api.github.com/users/vicb/followers","following_url":"https://api.github.com/users/vicb/following{/other_user}","gists_url":"https://api.github.com/users/vicb/gists{/gist_id}","starred_url":"https://api.github.com/users/vicb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicb/subscriptions","organizations_url":"https://api.github.com/users/vicb/orgs","repos_url":"https://api.github.com/users/vicb/repos","events_url":"https://api.github.com/users/vicb/events{/privacy}","received_events_url":"https://api.github.com/users/vicb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20router","name":"comp: router","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort3:%20hard%20(week)","name":"effort3: hard (week)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/P3:%20important","name":"P3: important","color":"fef2c0"},{"url":"https://api.github.com/repos/angular/angular/labels/state:%20Follow%20Up","name":"state: Follow Up","color":"006b75"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20RFC%20/%20discussion%20/%20question","name":"type: RFC / discussion / question","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/49","html_url":"https://github.com/angular/angular/milestones/beta.0","labels_url":"https://api.github.com/repos/angular/angular/milestones/49/labels","id":1339148,"number":49,"title":"beta.0","description":"Issues which must close before we declare beta.","creator":{"login":"naomiblack","id":2286589,"avatar_url":"https://avatars.githubusercontent.com/u/2286589?v=3","gravatar_id":"","url":"https://api.github.com/users/naomiblack","html_url":"https://github.com/naomiblack","followers_url":"https://api.github.com/users/naomiblack/followers","following_url":"https://api.github.com/users/naomiblack/following{/other_user}","gists_url":"https://api.github.com/users/naomiblack/gists{/gist_id}","starred_url":"https://api.github.com/users/naomiblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naomiblack/subscriptions","organizations_url":"https://api.github.com/users/naomiblack/orgs","repos_url":"https://api.github.com/users/naomiblack/repos","events_url":"https://api.github.com/users/naomiblack/events{/privacy}","received_events_url":"https://api.github.com/users/naomiblack/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":225,"state":"open","created_at":"2015-10-05T21:32:20Z","updated_at":"2015-12-15T07:59:32Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2015-07-02T07:28:39Z","updated_at":"2015-12-15T07:59:32Z","closed_at":"2015-12-15T07:59:32Z","body":"```<a router-link=\"/route1\">route1</a>``` will crash badly (see #2843) because the expected syntax is\r\n```<a [router-link]=\"['/route1']\">route1</a>```\r\n\r\nWhat about allowing the former syntax ? (using an array is overkill for simple use cases).\r\n\r\nIf we want to support array only, we should check the value when it is set.\r\n\r\n/cc @Delagen"}}