{"action":"opened","issue":{"url":"https://api.github.com/repos/justindujardin/ng2-material/issues/328","repository_url":"https://api.github.com/repos/justindujardin/ng2-material","labels_url":"https://api.github.com/repos/justindujardin/ng2-material/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/justindujardin/ng2-material/issues/328/comments","events_url":"https://api.github.com/repos/justindujardin/ng2-material/issues/328/events","html_url":"https://github.com/justindujardin/ng2-material/issues/328","id":195841305,"number":328,"title":"Install ng2-material on Angular 2.3.1","user":{"login":"superKalo","id":2548061,"avatar_url":"https://avatars.githubusercontent.com/u/2548061?v=3","gravatar_id":"","url":"https://api.github.com/users/superKalo","html_url":"https://github.com/superKalo","followers_url":"https://api.github.com/users/superKalo/followers","following_url":"https://api.github.com/users/superKalo/following{/other_user}","gists_url":"https://api.github.com/users/superKalo/gists{/gist_id}","starred_url":"https://api.github.com/users/superKalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superKalo/subscriptions","organizations_url":"https://api.github.com/users/superKalo/orgs","repos_url":"https://api.github.com/users/superKalo/repos","events_url":"https://api.github.com/users/superKalo/events{/privacy}","received_events_url":"https://api.github.com/users/superKalo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-15T15:54:02Z","updated_at":"2016-12-15T15:54:02Z","closed_at":null,"body":"My project runs on Angular 2.3.1 and Angular CLI (1.0.0-beta.19-3).\r\n\r\nI am following the installation instructions [on the official website](https://justindujardin.github.io/ng2-material/#/) and I first do:\r\n\r\n```\r\nnpm install --save ng2-material @angular2-material/core\r\n```\r\n\r\nHowever when I try to import the directives and providers in my app `@NgModule`:\r\n\r\n```\r\nimport {MATERIAL_DIRECTIVES, MATERIAL_PROVIDERS} from \"ng2-material\";\r\n\r\n@NgModule({\r\n  declarations: [\r\n    MATERIAL_DIRECTIVES\r\n  ],\r\n  providers: [\r\n   MATERIAL_PROVIDERS\r\n  ],\r\n  // and so on ...\r\n})\r\n```\r\n\r\nI am getting these errors:\r\n\r\n```\r\nERROR in [default] /Users/superkalo/Sites/dev-challenge/src/app/app.module.ts:97:4\r\nCannot find name 'MATERIAL_DIRECTIVES'.\r\n\r\nERROR in [default] /Users/superkalo/Sites/dev-challenge/src/app/app.module.ts:190:4\r\nCannot find name 'MATERIAL_PROVIDERS'.\r\n```\r\n\r\nAny ideas how I can resolve them or how to use ng2-material with Angular 2.3.1 in general?"}}
{"actor":{"display_login":"superKalo"}}