# Angular Elements

Angular Elements packages Angular components as browser custom elements and provides APIs to convert and register them.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## AskJuri: Learning about Angular Elements

DevFeed: [AskJuri: Learning about Angular Elements](<https://devfeed.tech/articles/askjuri-learning-about-angular-elements-21369.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2020/06/askjuri-learning-angular-elements/>)

Published: 2020-07-03T00:00:00Z

Content type: article

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular Elements](<https://devfeed.tech/topics/angular-elements.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [Web Components](<https://devfeed.tech/topics/web-components.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-elements](<https://devfeed.tech/tags/angular-elements.md>), [askjuri](<https://devfeed.tech/tags/askjuri.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compile](<https://devfeed.tech/tags/compile.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [cons](<https://devfeed.tech/tags/cons.md>), [core](<https://devfeed.tech/tags/core.md>), [course](<https://devfeed.tech/tags/course.md>), [custom](<https://devfeed.tech/tags/custom.md>), [custom-elements](<https://devfeed.tech/tags/custom-elements.md>), [docs](<https://devfeed.tech/tags/docs.md>), [element](<https://devfeed.tech/tags/element.md>), [file](<https://devfeed.tech/tags/file.md>), [flow](<https://devfeed.tech/tags/flow.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [learning](<https://devfeed.tech/tags/learning.md>)

### AI overview

Angular Elements let you package Angular components as Custom Elements for use in non-Angular applications, such as reusing a payment flow component in React. The tradeoff described is larger JavaScript bundles because the element includes parts of the Angular runtime; Ivy can reduce compilation output and bundle size, but the author says more work is needed to make them very small. For bundling, the author recommends ngx-build-plus to exclude shared dependencies such as Angular Core and RxJS and load them once, especially when a page uses multiple Angular Elements. The text also points readers to an introductory course and the Angular documentation.

### Source excerpt

Lorem ipsum dolor sit amet

## Lazy Loading with Angular Elements and ngx-lazy-el

DevFeed: [Lazy Loading with Angular Elements and ngx-lazy-el](<https://devfeed.tech/articles/lazy-loading-with-angular-elements-and-ngx-lazy-el-21361.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/11/lazy-loading-angular-ngx-lazy-el/>)

Published: 2019-11-06T00:00:00Z

Content type: article

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Angular Elements](<https://devfeed.tech/topics/angular-elements.md>), [Angular](<https://devfeed.tech/topics/angular.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-elements](<https://devfeed.tech/tags/angular-elements.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance-budgets](<https://devfeed.tech/tags/performance-budgets.md>), [router](<https://devfeed.tech/tags/router.md>), [web-performance](<https://devfeed.tech/tags/web-performance.md>)

### AI overview

To reduce Angular app startup time, keep the initial JavaScript bundle small and load additional code when needed. The excerpt describes differential loading in Angular CLI v8, which builds separate ES5 and ES2015 bundles, and performance budgets, which can break CI builds when configured size thresholds are exceeded. It identifies router-based lazy loading as Angular's main approach at the time: use a dynamic import in the route configuration to load a module on demand. The excerpt does not explain how to lazy load non-routed components with Angular Elements or ngx-lazy-el.

### Source excerpt

Lorem ipsum dolor sit amet

## Introduction to Angular Elements

DevFeed: [Introduction to Angular Elements](<https://devfeed.tech/articles/introduction-to-angular-elements-21341.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/04/intro-to-angular-elements/>)

Published: 2019-04-28T00:00:00Z

Content type: article

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular Elements](<https://devfeed.tech/topics/angular-elements.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [Web Components](<https://devfeed.tech/topics/web-components.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [micro-frontends](<https://devfeed.tech/topics/micro-frontends.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-elements](<https://devfeed.tech/tags/angular-elements.md>), [angularjs](<https://devfeed.tech/tags/angularjs.md>), [api](<https://devfeed.tech/tags/api.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cli](<https://devfeed.tech/tags/cli.md>), [cms](<https://devfeed.tech/tags/cms.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [custom-elements](<https://devfeed.tech/tags/custom-elements.md>), [egghead](<https://devfeed.tech/tags/egghead.md>), [elements](<https://devfeed.tech/tags/elements.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [html](<https://devfeed.tech/tags/html.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [js](<https://devfeed.tech/tags/js.md>), [micro-frontends](<https://devfeed.tech/tags/micro-frontends.md>), [spa](<https://devfeed.tech/tags/spa.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

Angular Elements wraps Angular components as browser Custom Elements, allowing them to be instantiated through native browser APIs or embedded in HTML, including pages and applications built outside Angular. The excerpt identifies uses such as dynamic CMS content, sharing widgets across teams, enhancing existing HTML pages, upgrading AngularJS apps, and micro frontends. It says the Angular Elements package may not be installed by default and begins a first-element walkthrough using the Angular CLI, but the excerpt ends before the setup steps.

### Source excerpt

Lorem ipsum dolor sit amet