{"action":"created","issue":{"url":"https://api.github.com/repos/gund/ng-dynamic-component/issues/142","repository_url":"https://api.github.com/repos/gund/ng-dynamic-component","labels_url":"https://api.github.com/repos/gund/ng-dynamic-component/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/gund/ng-dynamic-component/issues/142/comments","events_url":"https://api.github.com/repos/gund/ng-dynamic-component/issues/142/events","html_url":"https://github.com/gund/ng-dynamic-component/issues/142","id":322338649,"number":142,"title":"'ndcDynamicComponent' error even if imported in app.module","user":{"login":"dcp3450","id":408527,"avatar_url":"https://avatars0.githubusercontent.com/u/408527?v=4","gravatar_id":"","url":"https://api.github.com/users/dcp3450","html_url":"https://github.com/dcp3450","followers_url":"https://api.github.com/users/dcp3450/followers","following_url":"https://api.github.com/users/dcp3450/following{/other_user}","gists_url":"https://api.github.com/users/dcp3450/gists{/gist_id}","starred_url":"https://api.github.com/users/dcp3450/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcp3450/subscriptions","organizations_url":"https://api.github.com/users/dcp3450/orgs","repos_url":"https://api.github.com/users/dcp3450/repos","events_url":"https://api.github.com/users/dcp3450/events{/privacy}","received_events_url":"https://api.github.com/users/dcp3450/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-11T15:28:17Z","updated_at":"2018-05-18T13:28:02Z","closed_at":"2018-05-18T13:28:02Z","author_association":"NONE","body":"I'm getting the \"Can't bind to 'ndcDynamicComponent' since it isn't a known property of 'ndc-dynamic'.\" error just like in #134 however I am importing per the readme:\r\n\r\napp.module.ts:\r\n\r\n```\r\n...\r\n//dynamic views\r\nimport { DynamicModule } from 'ng-dynamic-component';\r\nimport { TestViewComponent } from './views/test-view/test-view.component';\r\n\r\n...\r\n@NgModule({\r\n  declarations: [\r\n    ...,\r\n    TestViewComponent\r\n  ],\r\n  imports: [\r\n   ...,\r\n    DynamicModule.withComponents([TestViewComponent])\r\n  ],\r\n  providers: [\r\n\t  ...\r\n  ],\r\n  bootstrap: [AppComponent]\r\n})\r\n```\r\n\r\ngrid.component.html:\r\n\r\n```\r\n<div id=\"grid\">\r\n    <gridster [options]=\"options\">\r\n    <gridster-item [item]=\"item\" *ngFor=\"let item of dashboard;let i = index;\">\r\n      <div class=\"grid-header drag-handle\">\r\n        <span class=\"handle-icon\"><i class=\"material-icons\">open_with</i></span>\r\n        <span class=\"close-icon\" (click)=\"removePanel(item)\"><i class=\"material-icons\">close</i></span>\r\n      </div>\r\n      <ndc-dynamic [ndcDynamicComponent]=\"component\"></ndc-dynamic>\r\n    </gridster-item>\r\n  </gridster>\r\n</div>\r\n```\r\n\r\ngrid.component.ts:\r\n\r\n```\r\n...\r\nexport class GridComponent implements OnInit {\r\n  \r\n  ...\r\n  \r\n  component = TestViewComponent;\r\n...\r\n}\r\n```\r\n\r\nI trying to test adding my test view in my grid items which will eventually be loaded dynamically based on options the user selects."},"comment":{"url":"https://api.github.com/repos/gund/ng-dynamic-component/issues/comments/390206696","html_url":"https://github.com/gund/ng-dynamic-component/issues/142#issuecomment-390206696","issue_url":"https://api.github.com/repos/gund/ng-dynamic-component/issues/142","id":390206696,"user":{"login":"gund","id":3644678,"avatar_url":"https://avatars0.githubusercontent.com/u/3644678?v=4","gravatar_id":"","url":"https://api.github.com/users/gund","html_url":"https://github.com/gund","followers_url":"https://api.github.com/users/gund/followers","following_url":"https://api.github.com/users/gund/following{/other_user}","gists_url":"https://api.github.com/users/gund/gists{/gist_id}","starred_url":"https://api.github.com/users/gund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gund/subscriptions","organizations_url":"https://api.github.com/users/gund/orgs","repos_url":"https://api.github.com/users/gund/repos","events_url":"https://api.github.com/users/gund/events{/privacy}","received_events_url":"https://api.github.com/users/gund/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T13:28:02Z","updated_at":"2018-05-18T13:28:02Z","author_association":"OWNER","body":"okay let's then keep that issue alive"}}
{"actor":{"display_login":"gund"}}