I want to use one component in another two components like that:
<jhi-articles-list-component [active]="true"></jhi-articles-list-component>
so i created some shared module and export that component like this:
@NgModule({
exports: [ArticlesListComponent]
})
export class ArticlesListModule {}
And then im imported that module in modules that i want to use that component which causes the error:
Can't export directive ArticlesListComponent from ArticlesListModule as it was neither declared nor imported!