{"action":"created","issue":{"url":"https://api.github.com/repos/pbastowski/angular2-now/issues/4","labels_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/4/comments","events_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/4/events","html_url":"https://github.com/pbastowski/angular2-now/issues/4","id":78957408,"number":4,"title":"Use new router's @RouteConfig syntax","user":{"login":"nalbion","id":1866161,"avatar_url":"https://avatars.githubusercontent.com/u/1866161?v=3","gravatar_id":"","url":"https://api.github.com/users/nalbion","html_url":"https://github.com/nalbion","followers_url":"https://api.github.com/users/nalbion/followers","following_url":"https://api.github.com/users/nalbion/following{/other_user}","gists_url":"https://api.github.com/users/nalbion/gists{/gist_id}","starred_url":"https://api.github.com/users/nalbion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalbion/subscriptions","organizations_url":"https://api.github.com/users/nalbion/orgs","repos_url":"https://api.github.com/users/nalbion/repos","events_url":"https://api.github.com/users/nalbion/events{/privacy}","received_events_url":"https://api.github.com/users/nalbion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-21T11:42:20Z","updated_at":"2015-05-24T13:58:49Z","closed_at":null,"body":"There is a new router for Angular 2.0 (and 1.4) - https://github.com/angular/router\r\n\r\nIt would be good if angular2-now used the same syntax instead of `@State`\r\n\r\n```javascript\r\n@Component({})\r\n@View({\r\n  template:\r\n    `<div router-outlet=\"master\"></div>\r\n     <div router-outlet=\"detail\"></div>`,\r\n  directives: [RouterOutlet, RouterLink]\r\n})\r\n@RouteConfig({\r\n  path: '/user', components: {\r\n    master: 'userList',\r\n    detail: 'user'\r\n  }\r\n  // or:  path: '/user', component: UserComp \r\n})\r\nclass MyComponent {}\r\n```"},"comment":{"url":"https://api.github.com/repos/pbastowski/angular2-now/issues/comments/105019581","html_url":"https://github.com/pbastowski/angular2-now/issues/4#issuecomment-105019581","issue_url":"https://api.github.com/repos/pbastowski/angular2-now/issues/4","id":105019581,"user":{"login":"nalbion","id":1866161,"avatar_url":"https://avatars.githubusercontent.com/u/1866161?v=3","gravatar_id":"","url":"https://api.github.com/users/nalbion","html_url":"https://github.com/nalbion","followers_url":"https://api.github.com/users/nalbion/followers","following_url":"https://api.github.com/users/nalbion/following{/other_user}","gists_url":"https://api.github.com/users/nalbion/gists{/gist_id}","starred_url":"https://api.github.com/users/nalbion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalbion/subscriptions","organizations_url":"https://api.github.com/users/nalbion/orgs","repos_url":"https://api.github.com/users/nalbion/repos","events_url":"https://api.github.com/users/nalbion/events{/privacy}","received_events_url":"https://api.github.com/users/nalbion/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T13:58:49Z","updated_at":"2015-05-24T13:58:49Z","body":"I think I just skyped you.\r\n"}}