Yes, if it does work like above. But I have not used Angular. I found that above from Angular documention how to make Angular component. I don't know does it help you in any way, does it work with your other Angular components, you can test yourself. If it does not work as Angular component, you can try above way of using frames or iframe.