{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/5040","labels_url":"https://api.github.com/repos/angular/angular/issues/5040/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/5040/comments","events_url":"https://api.github.com/repos/angular/angular/issues/5040/events","html_url":"https://github.com/angular/angular/issues/5040","id":114391399,"number":5040,"title":"it doesnt work set this.list in router component","user":{"login":"Yunlong2cn","id":1751219,"avatar_url":"https://avatars.githubusercontent.com/u/1751219?v=3","gravatar_id":"","url":"https://api.github.com/users/Yunlong2cn","html_url":"https://github.com/Yunlong2cn","followers_url":"https://api.github.com/users/Yunlong2cn/followers","following_url":"https://api.github.com/users/Yunlong2cn/following{/other_user}","gists_url":"https://api.github.com/users/Yunlong2cn/gists{/gist_id}","starred_url":"https://api.github.com/users/Yunlong2cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yunlong2cn/subscriptions","organizations_url":"https://api.github.com/users/Yunlong2cn/orgs","repos_url":"https://api.github.com/users/Yunlong2cn/repos","events_url":"https://api.github.com/users/Yunlong2cn/events{/privacy}","received_events_url":"https://api.github.com/users/Yunlong2cn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-31T06:41:58Z","updated_at":"2015-10-31T06:41:58Z","closed_at":null,"body":"in app.ts\r\n```\r\nimport HomeComponent from \"./components/page/home\";\r\n```\r\nthis is home.ts\r\n```\r\nimport { Component, View, NgIf, NgFor, Input} from \"angular2/angular2\";\r\n\r\n// import FriendListComponent from \"../friend/list\";\r\n\r\n@Component({\r\n\tselector: 'home-component'\r\n})\r\n@View({\r\n\ttemplateUrl: 'js/components/page/view/home.html',\r\n\tdirectives: [NgIf, NgFor]\r\n})\r\nexport default class HomeComponent {\r\n\tlist: Array<any>;\r\n\ttitle: string;\r\n\r\n\tconstructor() {\r\n\t\tthis.title = \"Helllo Xixi\";\r\n\t\tthis.list = [\r\n\t\t\t{ title: 'title 1', alt: 'alt 1', icon: '' },\r\n\t\t\t{ title: 'title 2', href: 'http://www.baidu.com', alt: 'alt 2' },\r\n\t\t\t{ title: 'title 3', alt: 'alt 3' },\r\n\t\t\t{ title: 'title 4' }\r\n\t\t];\r\n\t}\r\n}\r\n```\r\nhome.html\r\n```\r\nhome\r\n<div>{{title}}</div>\r\n<ul>\r\n\t<li *ng-for=\"#item of list\">\r\n\t\t{{item.title}}\r\n\t</li>\r\n</ul>\r\n```\r\nthe result is show me charactors \"home\" only\r\n\r\n[![blob](https://files.gitter.im/angular/angular/1yd7/thumb/blob.png)](https://files.gitter.im/angular/angular/1yd7/blob)"}}