Angular Elements
summary
Angular Elements enables turning Angular components into native Web Components now, using createCustomElement and passing the module injector so services and Angular Material still work; supports AOT builds and optional shadow DOM/experimental shadow DOM slots and content projection. next.angular.io already uses elements for code tabs. New rendering cuts a Hello World to about 7.3 KB (2.7 KB gzipped) and custom element bootstrapping adds roughly a couple percent. AOT compilation is supported.
AI-written summary · about








