{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/2843","labels_url":"https://api.github.com/repos/angular/angular/issues/2843/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/2843/comments","events_url":"https://api.github.com/repos/angular/angular/issues/2843/events","html_url":"https://github.com/angular/angular/issues/2843","id":92560540,"number":2843,"title":"Router broken","user":{"login":"Delagen","id":783335,"avatar_url":"https://avatars.githubusercontent.com/u/783335?v=3","gravatar_id":"","url":"https://api.github.com/users/Delagen","html_url":"https://github.com/Delagen","followers_url":"https://api.github.com/users/Delagen/followers","following_url":"https://api.github.com/users/Delagen/following{/other_user}","gists_url":"https://api.github.com/users/Delagen/gists{/gist_id}","starred_url":"https://api.github.com/users/Delagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delagen/subscriptions","organizations_url":"https://api.github.com/users/Delagen/orgs","repos_url":"https://api.github.com/users/Delagen/repos","events_url":"https://api.github.com/users/Delagen/events{/privacy}","received_events_url":"https://api.github.com/users/Delagen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-02T06:34:19Z","updated_at":"2015-07-15T19:35:42Z","closed_at":"2015-07-02T07:17:44Z","body":"```\r\ncollection.js:183 Uncaught TypeError: list.reduce is not a function\r\nUncaught TypeError: list.reduce is not a function \r\nSystem.registerDynamic.ListWrapper.reduce\t@\tcollection.js:183\r\nsplitAndFlattenLinkParams\t@\troute_registry.js:250\r\nSystem.registerDynamic.RouteRegistry.generate\t@\troute_registry.js:127\r\nSystem.registerDynamic.Router.generate\t@\trouter.js:169\r\nSystem.registerDynamic.Object.defineProperty.set\t@\trouter_link.js:53\r\nChangeDetector_MyApp_comp_0.detectChangesInRecords\t@\tVM48764:147\r\nSystem.registerDynamic.AbstractChangeDetector._detectChanges\t@\tabstract_change_detector.js:29\r\nSystem.registerDynamic.AbstractChangeDetector._detectChangesInShadowDomChildren\t@\tabstract_change_detector.js:50\r\nSystem.registerDynamic.AbstractChangeDetector._detectChanges\t@\tabstract_change_detector.js:33\r\nSystem.registerDynamic.AbstractChangeDetector.detectChanges\t@\tabstract_change_detector.js:24\r\nSystem.registerDynamic.LifeCycle.tick\t@\tlife_cycle.js:87\r\nSystem.registerDynamic.LifeCycle.registerWith.zone.initCallbacks.onTurnDone\t@\tlife_cycle.js:64\r\nrun\t@\tzone-microtask.js:122\r\nSystem.registerDynamic.NgZone._createInnerZone.zone.fork.fork.$run\t@\tng_zone.js:140\r\nzoneBoundFn\t@\tzone-microtask.js:95\r\n```\r\n29-alpha in 28-alpha code works\r\n```\r\n@View({\r\n\ttemplate:   `\r\n<router-outlet></router-outlet>\r\n<a router-link=\"route1\">route1</a>\r\n<a router-link=\"route2\">route2</a>\r\n`,\r\ndirectives: [RouterOutlet, RouterLink]\r\n})\r\n@RouteConfig([\r\n\t// {path: \"/\", redirectTo: \"/route1\"},\r\n\t{path: \"/route1\", component: Route1, as: \"route1\"},\r\n\t{path: \"/route2\", component: Route2, as: \"route2\"}\r\n])\r\nclass MyApp {\r\n}\r\n\r\nbootstrap(MyApp, [httpInjectables, routerInjectables])\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/121722600","html_url":"https://github.com/angular/angular/issues/2843#issuecomment-121722600","issue_url":"https://api.github.com/repos/angular/angular/issues/2843","id":121722600,"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},"created_at":"2015-07-15T19:35:42Z","updated_at":"2015-07-15T19:35:42Z","body":"Thanks @Delagen"}}