I have a directory structure as shown in image
https://i.stack.imgur.com/yitTd.png
When I use <app-news-card>
selector in app.component.html, it shows error of <app-news-card> not present in current module.
How should I fix this in the most best practical way.
Currently: I am
1.)exporting news-card.component from news.module
2.)then I have imported NewsModule in current.module with re-exporting NewsModule
3.)and then I have imported CurrentModule in app.module