What you want to do is create an angular custom web component. I found a great tutorial on how to do it here:
https://blog.kalvad.com/export-your-angular-component-as-a-web-component/
Upgrading it to the recent angular went very smoothly for me. If you run on any challenges I will publish an updated example.