I think I have a knot in my brain, it can't be that difficult.
I have an Angular component and it is called in my app.html
<app-custom></app-custom>
and if app-custom does not exist, a default component should be called instead
<app-default></app-default>
I don't know how to check if the app-custom component exits or not.