So I want something like
<button [appLoader]="isLoading">Login</button>
to turn into this if isLoading = true
<button [appLoader]="isLoading"><Loader/></button>
I did this before, but I used stuff not supported by Angular, like innerHTML, textContent...And I forgot how I did it.
I do remember using ViewContainerRef , but I forgot how I inserted it in the host.
It should replace the original content, because the default behavior is inserting as sibling.