I created a component and tried to use it in another component by declaring a selector in the display part.
<app-component1></app-component1>
But I get a compile error. I checked the imports in the modules, everything is fine, there are no errors. Can't figure out what is the reason why I can't use the component? Here is stackblitz example of my app.
https://stackblitz.com/edit/angular-ivy-uve2pn?file=src/app/app.module.ts