{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/material2/issues/1080","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/1080/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/1080/comments","events_url":"https://api.github.com/repos/angular/material2/issues/1080/events","html_url":"https://github.com/angular/material2/issues/1080","id":172058594,"number":1080,"title":"md-list does not work in production build","user":{"login":"mounikaseelam20","id":16240650,"avatar_url":"https://avatars.githubusercontent.com/u/16240650?v=3","gravatar_id":"","url":"https://api.github.com/users/mounikaseelam20","html_url":"https://github.com/mounikaseelam20","followers_url":"https://api.github.com/users/mounikaseelam20/followers","following_url":"https://api.github.com/users/mounikaseelam20/following{/other_user}","gists_url":"https://api.github.com/users/mounikaseelam20/gists{/gist_id}","starred_url":"https://api.github.com/users/mounikaseelam20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mounikaseelam20/subscriptions","organizations_url":"https://api.github.com/users/mounikaseelam20/orgs","repos_url":"https://api.github.com/users/mounikaseelam20/repos","events_url":"https://api.github.com/users/mounikaseelam20/events{/privacy}","received_events_url":"https://api.github.com/users/mounikaseelam20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-19T05:40:47Z","updated_at":"2016-08-19T05:40:47Z","closed_at":null,"body":"#### Bug, feature request, or proposal: \r\nmd-list does not work in production build\r\n\r\n\r\n#### What is the expected behavior?\r\nI am using 2.0.0-alpha.7-4 of @angular2-material and following is the code to render list of items\r\n\r\n`<md-list class=\"side\">\r\n  <md-list-item class=\"active list-text\" *ngFor=\"let item of list\">\r\n    <md-icon>{{item.icon}}</md-icon>\r\n    {{item.name}}\r\n  </md-list-item>\r\n</md-list>`\r\n\r\nand my component.ts file has\r\n\r\n`list=[{\r\n       name:\"Dashboard\",\r\n       icon:\"home\"\r\n        },{\r\n       name:\"Draft\",\r\n       icon:\"person\"\r\n       },{\r\n       name:\"Account\",\r\n       icon:\"lock\"\r\n }]`\r\n\r\nThis code shows the output properly when I do  _ng serve_\r\n\r\nbut once I create a build using _ng build -prod_ the list items are not rendered.\r\n\r\n#### What is the current behavior?\r\nWhen i run the app after the  build the output is not same as when i run the app using ng-serve\r\n\r\n\r\n#### What are the steps to reproduce?\r\n\r\n![prodbuild](https://cloud.githubusercontent.com/assets/16240650/17799969/ecdf72ee-65fc-11e6-8eb4-2bd7e7e50d27.png)\r\n \r\neven after build the output should be same as the output when we run app using ng serve\r\n\r\n\r\nPlease let me know what am I doing wrong?\r\n"}}
{"actor":{"display_login":"mounikaseelam20"}}