Exploring Angular's custom elements while steering clear of dependency injection is my current experiment.
const MyElementElement = createCustomElement(MyElementComponent, { injector });
customElements.define('my-element', MyElementElement);
I seem to be stuck as I cannot figure out how to create a custom element without passing in the injector.
createCustomElement(MyElementComponent)
Is there a way to utilize the custom element without relying on Angular's dependency injection?