{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material2/issues/982","repository_url":"https://api.github.com/repos/angular/material2","labels_url":"https://api.github.com/repos/angular/material2/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/angular/material2/issues/982/comments","events_url":"https://api.github.com/repos/angular/material2/issues/982/events","html_url":"https://github.com/angular/material2/issues/982","id":170363233,"number":982,"title":"md-card NgModule is not a function","user":{"login":"vapits","id":8594758,"avatar_url":"https://avatars.githubusercontent.com/u/8594758?v=3","gravatar_id":"","url":"https://api.github.com/users/vapits","html_url":"https://github.com/vapits","followers_url":"https://api.github.com/users/vapits/followers","following_url":"https://api.github.com/users/vapits/following{/other_user}","gists_url":"https://api.github.com/users/vapits/gists{/gist_id}","starred_url":"https://api.github.com/users/vapits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vapits/subscriptions","organizations_url":"https://api.github.com/users/vapits/orgs","repos_url":"https://api.github.com/users/vapits/repos","events_url":"https://api.github.com/users/vapits/events{/privacy}","received_events_url":"https://api.github.com/users/vapits/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-10T08:42:45Z","updated_at":"2016-08-10T17:26:11Z","closed_at":"2016-08-10T17:07:10Z","body":"#### Bug, feature request, or proposal:\r\nBug (?)\r\nVersion: `@angular2-material/card\": \"^2.0.0-alpha.7`\r\nAngular version: RC4 (but tested with RC5 also)\r\n\r\nCase is is simple from angular2-material options card is the one that simply cannot work in my case. It is install and accessible through systemJs and the usage is this:\r\n\r\nComponent:\r\n```\r\nimport { Component, OnInit, Input } from '@angular/core';\r\nimport { MenuItems } from '../../../models';\r\nimport { MD_CARD_DIRECTIVES } from '@angular2-material/card';\r\n\r\n@Component({\r\n  moduleId: module.id,\r\n  selector: 'big-icons-vertical-menu',\r\n  templateUrl: 'big-icons-vertical-menu.component.html',\r\n  styleUrls: ['big-icons-vertical-menu.component.css'],\r\n  directives: [MD_CARD_DIRECTIVES]\r\n})\r\nexport class BigIconsVerticalMenuComponent implements OnInit {\r\n\r\n  @Input() items: MenuItems;\r\n\r\n  constructor() { }\r\n\r\n  ngOnInit() {\r\n  }\r\n\r\n}\r\n```\r\n\r\nTemplate (well even if there is no template the issue is the same).\r\n```\r\n<md-card class=\"text-center detail-menu\">\r\n  <md-card-content>\r\n    Text here\r\n  </md-card-content>\r\n</md-card>\r\n```\r\n\r\nWhen the app runs and i use the component I get:\r\n\r\n>zone.js:461 Unhandled Promise rejection: TypeError: core_1.NgModule is not a function\r\n\t    at eval (http://localhost:4200/vendor/@angular2-material/core/ripple/ripple.js:168:16)\r\n\t    at Object.eval (http://localhost:4200/vendor/@angular2-material/core/ripple/ripple.js:175:2)\r\n\t    at eval (http://localhost:4200/vendor/@angular2-material/core/ripple/ripple.js:178:4)\r\n\t    at eval (http://localhost:4200/vendor/@angular2-material/core/ripple/ripple.js:179:3)\r\n\tEvaluating http://localhost:4200/vendor/@angular2-material/core/ripple/ripple.js\r\n\tEvaluating http://localhost:4200/vendor/@angular2-material/button/button.js\r\n\tEvaluating http://localhost:4200/app/top-bar/top-bar.component.js\r\n\tEvaluating http://localhost:4200/app/top-bar/index.js\r\n\tEvaluating http://localhost:4200/app/shared/index.js\r\n\tEvaluating http://localhost:4200/app/routes.js\r\n\tEvaluating http://localhost:4200/main.js\r\n\tError loading http://localhost:4200/main.js ; Zone: <root> ; Task: Promise.then ; Value: Error: TypeError: core_1.NgModule is not a function(…)consoleError @ zone.js:461_loop_1 @ zone.js:490drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426\r\nzone.js:463 Error: Uncaught (in promise): Error: TypeError: core_1.NgModule is not a function(…)consoleError @ zone.js:463_loop_1 @ zone.js:490drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426\r\n\r\nMaybe there is a relation here with #954 but I cannot add my issue there as it is locked for collaborators only."},"comment":{"url":"https://api.github.com/repos/angular/material2/issues/comments/238940069","html_url":"https://github.com/angular/material2/issues/982#issuecomment-238940069","issue_url":"https://api.github.com/repos/angular/material2/issues/982","id":238940069,"user":{"login":"jelbourn","id":838736,"avatar_url":"https://avatars.githubusercontent.com/u/838736?v=3","gravatar_id":"","url":"https://api.github.com/users/jelbourn","html_url":"https://github.com/jelbourn","followers_url":"https://api.github.com/users/jelbourn/followers","following_url":"https://api.github.com/users/jelbourn/following{/other_user}","gists_url":"https://api.github.com/users/jelbourn/gists{/gist_id}","starred_url":"https://api.github.com/users/jelbourn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jelbourn/subscriptions","organizations_url":"https://api.github.com/users/jelbourn/orgs","repos_url":"https://api.github.com/users/jelbourn/repos","events_url":"https://api.github.com/users/jelbourn/events{/privacy}","received_events_url":"https://api.github.com/users/jelbourn/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T17:26:11Z","updated_at":"2016-08-10T17:26:11Z","body":"Try blowing away your node_modules. It sounds like your `@angular` is stale."}}
{"actor":{"display_login":"jelbourn"}}