Angular elements at the rescue!
summary
A real product built since 2020 converts Angular components (chatbot, cognitive search, product browser) into platform-agnostic web components using the Angular Elements package, Custom Elements APIs, Shadow DOM and HTML templates; inputs map to attributes and EventEmitters become CustomEvents, and a small editable-list demo successfully mounts inside plain HTML. Practical fixes include polyfills and cache-busting query params, converting rem to px for consistent fonts, inlining CSS to avoid overrides, and offloading heavy assets via an iframe to avoid a 2–3 MB bundle and speed loads. Inputs → attributes, EventEmitters → CustomEvents.
AI-written summary · about
