Reputation: 1
I have parent component with it's own module and pass data to child component that imported in app-module by using @input but there is error
*Can't bind to 'courseId' since it isn't a known property of 'app-rate-course'.
Upvotes: 0
Views: 482
Reputation: 4251
Have you exported the component in module.ts file.
exports: [
FeatureComponent
]
Upvotes: 0
Reputation: 588
Import the child component in app.module.ts and add it to the declarations array
Upvotes: 0