I have my own module (FrameworkModule), which is called in import inside app.module
This is my module:
@NgModule({
imports: [
CommonModule
],
declarations: [
CheckFieldComponent,
],
exports: [
CheckFieldComponent,
],
})
export class FrameworkModule { }
If I use any component from app.module, component from FrameworkModule it doesn't see. App.module of course includes my FrameworkModule.
For example:
In component xyz (which is defined in my FrameworkModule) I am using zyx component (which is defined in app.module) - then xyz doesn't see zyx component.
And the error:
Can't bind to 'xyz' since it isn't a known property of 'zyx'.