# Angular CLI

Angular CLI is a command-line interface tool for scaffolding, developing, testing, deploying, and maintaining Angular applications.

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

## Build an Authenticated Standalone Angular v22 App with the Okta Angular SDK

DevFeed: [Build an Authenticated Standalone Angular v22 App with the Okta Angular SDK](<https://devfeed.tech/articles/supercharge-auth-with-signals-and-the-new-okta-angular-sdk-15977.md>)

Original publisher: [Read original article](<https://developer.okta.com/blog/2026/08/25/angular-auth-signals>)

Author: Alisa Duncan

Published: 2026-08-25T05:00:00Z

Content type: tutorial

Language: en

Sources: [Okta Developer](<https://devfeed.tech/sources/okta-developer.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-v22](<https://devfeed.tech/tags/angular-v22.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [cli](<https://devfeed.tech/tags/cli.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [release](<https://devfeed.tech/tags/release.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial updates a small Angular v22 application to use the standalone Okta Angular SDK. It covers adding authentication with the provider function, protecting routes with functional guards, loading user groups with rxResource and signal inputs, and moving Okta configuration to runtime loading.

### Source excerpt

Have you noticed that the Okta Angular SDK went fully standalone? There's no NgModule left to import, no importProvidersFrom wrapper to remember, and the guards are plain functions now. If you've been waiting for the SDK to look like the rest of your standalone Angular app, this is the release you were waiting for. In this post, we'll pick up a small Angular v22 project and finish it. We'll make the following changes: Add authentication using the new provideOktaAuth provider function Protect a route with the SDK's functional guard Load each user's groups with rxResource and a signal input Move the Okta configuration to runtime loading We're calling Okta's APIs directly for this project, so we don't have to stand up a separate backend. If you want to jump to the completed project, you can find it in the okta-angular-auth-signals-example GitHub repository. Otherwise, warm up your fingers and let's get coding! Note This post is best for developers familiar with Angular. If you are an Angular newbie, start by building your first Angular app using the tutorial created by the Angular team. Prerequisites For this tutorial, you will need the following tools: Node.js v22 or greater Angular CLI An Okta Integrator Free Plan account A web browser with good debugging capabilities Your favorite IDE Terminal window (if you aren't using an IDE with a built-in terminal) Table of Contents Get the starting Angular project Secure the Angular app with OAuth 2.1 and OpenID Connect (OIDC) using Okta Grant API scopes to read users and groups Allow cross-origin requests and protect the access token Add authentication with the standalone Okta Angular provider Protect routes with functional route guards Add users to your Okta org Display users and review Angular's rxResource API Load a user's groups with rxResource and a signal input Display group details using signal inputs Load your Okta configuration at runtime Learn more about Angular signals, standalone APIs, and OIDC Get the starting An

## Nx 14.2 -- Angular v14, Storybook update, lightweight Nx and more!

DevFeed: [Nx 14.2 -- Angular v14, Storybook update, lightweight Nx and more!](<https://devfeed.tech/articles/nx-14-2-angular-v14-storybook-update-lightweight-nx-and-more-21418.md>)

Original publisher: [Read original article](<https://nx.dev/blog/nx-14-2-angular-v14-storybook-update-lightweight-nx-and-more>)

Author: Juri Strumpflohner

Published: 2022-06-09T00:00:00Z

Content type: release

Language: en

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

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Storybook](<https://devfeed.tech/topics/storybook.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [builds](<https://devfeed.tech/tags/builds.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cli](<https://devfeed.tech/tags/cli.md>), [components](<https://devfeed.tech/tags/components.md>), [cypress](<https://devfeed.tech/tags/cypress.md>), [eslint](<https://devfeed.tech/tags/eslint.md>), [forms](<https://devfeed.tech/tags/forms.md>), [framework](<https://devfeed.tech/tags/framework.md>), [jest](<https://devfeed.tech/tags/jest.md>), [linting](<https://devfeed.tech/tags/linting.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [monorepo](<https://devfeed.tech/tags/monorepo.md>), [native](<https://devfeed.tech/tags/native.md>), [nx](<https://devfeed.tech/tags/nx.md>), [optional](<https://devfeed.tech/tags/optional.md>), [performance](<https://devfeed.tech/tags/performance.md>), [release](<https://devfeed.tech/tags/release.md>), [storybook](<https://devfeed.tech/tags/storybook.md>), [support](<https://devfeed.tech/tags/support.md>), [update](<https://devfeed.tech/tags/update.md>)

### AI overview

Nx 14.2 adds Angular 14 upgrade migrations and automatically updates TypeScript to 4.7 and Prettier to 2.6. It also upgrades Storybook to 6.5 and switches Angular projects to Storybook's native builders, reducing Nx's custom-builder maintenance; its generators now support TypeScript-based Storybook configuration files. The excerpt also says Nx works for single-project Angular workspaces, with Angular CLI compatibility and faster builds, tests, and linting through task scheduling and caching. The remaining claimed benefits are cut off in the supplied text.

### Source excerpt

Nx 14.2 brings Angular v14 support, Storybook 6.5, improved Angular CLI migrations, optional nx.json configuration, and significant performance gains.

## Common Chunk and Lazy Loading in Angular

DevFeed: [Common Chunk and Lazy Loading in Angular](<https://devfeed.tech/articles/common-chunk-and-lazy-loading-in-angular-21377.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2021/02/common-chunk-lazy-loading-angular-cli/>)

Published: 2021-02-17T00: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](<https://devfeed.tech/topics/angular.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-elements](<https://devfeed.tech/tags/angular-elements.md>), [builder](<https://devfeed.tech/tags/builder.md>), [cli](<https://devfeed.tech/tags/cli.md>), [js](<https://devfeed.tech/tags/js.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [module](<https://devfeed.tech/tags/module.md>), [modules](<https://devfeed.tech/tags/modules.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [perf](<https://devfeed.tech/tags/perf.md>), [performance](<https://devfeed.tech/tags/performance.md>), [router](<https://devfeed.tech/tags/router.md>), [speed](<https://devfeed.tech/tags/speed.md>), [split](<https://devfeed.tech/tags/split.md>), [startup](<https://devfeed.tech/tags/startup.md>)

### AI overview

Angular Router lazy loading lets Webpack split code into bundles loaded as needed. By default, the Angular CLI places code shared by at least two locations into a common chunk, avoiding duplication; that chunk loads at startup and may affect startup speed. The excerpt says you can disable common chunk generation in the builder configuration when duplicating shared code across lazy-loaded bundles better fits your scenario, but advises choosing based on the specific situation. The excerpt does not include the exact configuration setting.

### Source excerpt

Lorem ipsum dolor sit amet

## Angular Performance: Preloading Lazy Routes

DevFeed: [Angular Performance: Preloading Lazy Routes](<https://devfeed.tech/articles/angular-performance-preloading-lazy-routes-21353.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/08/ngperf-preloading-lazy-routes/>)

Published: 2019-08-27T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [library](<https://devfeed.tech/tags/library.md>), [modules](<https://devfeed.tech/tags/modules.md>), [performance](<https://devfeed.tech/tags/performance.md>), [route](<https://devfeed.tech/tags/route.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

A tutorial on preloading lazy routes in Angular. It covers preloading all lazy modules, defining a custom preloading strategy, and using ngx-quicklink to automatically load visible links.

### Source excerpt

Lorem ipsum dolor sit amet

## Angular Performance: Route Level Code Splitting

DevFeed: [Angular Performance: Route Level Code Splitting](<https://devfeed.tech/articles/angular-performance-route-level-code-splitting-21354.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/08/ngperf-route-level-code-splitting/>)

Published: 2019-08-26T00:00:00Z

Content type: article

Language: en

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

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [route](<https://devfeed.tech/tags/route.md>), [time-to-interactive](<https://devfeed.tech/tags/time-to-interactive.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

The excerpt presents route-level code splitting as a way to improve an Angular app's time to interactive: load only the parts needed initially, then lazy-load other routes as needed. It says the lesson demonstrates the implementation step by step and mentions CLI generation of lazy routes and a loading indicator, but the excerpt omits the command and implementation details.

### Source excerpt

Lorem ipsum dolor sit amet

## Dynamically Load CSS with the Angular CLI

DevFeed: [Dynamically Load CSS with the Angular CLI](<https://devfeed.tech/articles/dynamically-load-css-with-the-angular-cli-21350.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/08/dynamically-load-css-angular-cli/>)

Published: 2019-08-22T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Sass](<https://devfeed.tech/topics/sass.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [cli](<https://devfeed.tech/tags/cli.md>), [css](<https://devfeed.tech/tags/css.md>), [egghead](<https://devfeed.tech/tags/egghead.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [sass](<https://devfeed.tech/tags/sass.md>), [themes](<https://devfeed.tech/tags/themes.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

The excerpt describes using Angular CLI to produce separate CSS or Sass entry points for themes, then loading a selected stylesheet at runtime by adding a link element to the document head. Configure the extra styles so the CLI emits them without including them in the app's initial styles; otherwise later theme rules can override earlier ones. A dedicated service can encapsulate loading, with theme selection driven by login state or configuration. The excerpt cuts off during its development-mode note, so it does not establish how runtime loading behaves there.

### Source excerpt

Lorem ipsum dolor sit amet

## It's time to say thank you to the Angular CLI Team!

DevFeed: [It's time to say thank you to the Angular CLI Team!](<https://devfeed.tech/articles/it-s-time-to-say-thank-you-to-the-angular-cli-team-21357.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/08/thank-you-angular-cli-team/>)

Published: 2019-08-13T00:00:00Z

Content type: opinion

Language: en

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

Topics: [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [app](<https://devfeed.tech/tags/app.md>), [backend](<https://devfeed.tech/tags/backend.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [build](<https://devfeed.tech/tags/build.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [cli](<https://devfeed.tech/tags/cli.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [config](<https://devfeed.tech/tags/config.md>), [css](<https://devfeed.tech/tags/css.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [development](<https://devfeed.tech/tags/development.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [js](<https://devfeed.tech/tags/js.md>), [localhost](<https://devfeed.tech/tags/localhost.md>), [port](<https://devfeed.tech/tags/port.md>), [project](<https://devfeed.tech/tags/project.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [runner](<https://devfeed.tech/tags/runner.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

The Angular CLI reduces the setup work that once required hours or days of configuring build tools, styles, and tests. The excerpt says it can generate a configured Angular app with build, run, test, and deploy setup. Its development server incrementally compiles TypeScript and Sass, watches for file changes, and recompiles and serves updates automatically. HTTPS on localhost is available through a flag, with temporary certificates generated for the developer; a proxy can connect the server to a backend running on another port. The commands and some configuration details are missing from this excerpt.

### Source excerpt

Lorem ipsum dolor sit amet

## Angular 8 and the Future - NGConf 2019 Roundup

DevFeed: [Angular 8 and the Future - NGConf 2019 Roundup](<https://devfeed.tech/articles/angular-8-and-the-future-ngconf-2019-roundup-21338.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019-05-01-ngconf-2019-roundup/>)

Published: 2019-05-01T00:00:00Z

Content type: opinion

Language: en

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

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [cli](<https://devfeed.tech/tags/cli.md>), [feature](<https://devfeed.tech/tags/feature.md>), [features](<https://devfeed.tech/tags/features.md>), [generators](<https://devfeed.tech/tags/generators.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [videos](<https://devfeed.tech/tags/videos.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

A personal roundup of NGConf 2019 announcements focused on Angular 8, including its positioning as a platform, differential loading, and Angular CLI builders. The article says differential loading creates separate bundles for modern and legacy browsers, potentially reducing bundle size by about 7-20% without server-side infrastructure changes.

### 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

## \[object ErrorEvent\] thrown by Karma in Angular Unit Tests

DevFeed: [\[object ErrorEvent\] thrown by Karma in Angular Unit Tests](<https://devfeed.tech/articles/object-errorevent-thrown-by-karma-in-angular-unit-tests-21331.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2018/07/object-errorthrown-karma/>)

Published: 2018-07-25T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [rxjs](<https://devfeed.tech/tags/rxjs.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

### AI overview

This tutorial explains how to diagnose the "[object ErrorEvent] thrown by Karma" message when running Angular unit tests. It recommends debugging with Chrome DevTools and disabling source maps with an Angular CLI flag when source maps contribute to cryptic errors.

### Source excerpt

Lorem ipsum dolor sit amet

## Add Mocha reporter for Karma unit tests to your Angular CLI project

DevFeed: [Add Mocha reporter for Karma unit tests to your Angular CLI project](<https://devfeed.tech/articles/add-mocha-reporter-for-karma-unit-tests-to-your-angular-cli-project-21325.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2018/02/add-mocha-reporter-angular-cli-tests/>)

Published: 2018-02-13T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Mocha](<https://devfeed.tech/topics/mocha.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Angular](<https://devfeed.tech/topics/angular.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [cli](<https://devfeed.tech/tags/cli.md>), [project](<https://devfeed.tech/tags/project.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

### AI overview

Angular CLI projects use Karma by default, whose "progress" reporter is described as useful on CI or when individual test names are unnecessary. To show test suite and case names in a more readable format, the excerpt recommends installing the Karma Mocha reporter via npm or yarn, then adding it to the project's Karma configuration and selecting it as the reporter. The excerpt says this produces a nicer test output, but omits the specific configuration entries and commands.

### Source excerpt

Lorem ipsum dolor sit amet

## Keycloak and Angular CLI

DevFeed: [Keycloak and Angular CLI](<https://devfeed.tech/articles/keycloak-and-angular-cli-31567.md>)

Original publisher: [Read original article](<https://www.keycloak.org/2018/02/keycloak-and-angular-cli>)

Author: Stan Silvert

Published: 2018-02-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Keycloak Blog](<https://devfeed.tech/sources/keycloak-blog.md>)

Topics: [Keycloak](<https://devfeed.tech/topics/keycloak.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [npm](<https://devfeed.tech/topics/npm.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [account-management](<https://devfeed.tech/tags/account-management.md>), [angular](<https://devfeed.tech/tags/angular.md>), [angularjs](<https://devfeed.tech/tags/angularjs.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cli](<https://devfeed.tech/tags/cli.md>), [idm](<https://devfeed.tech/tags/idm.md>), [kerberos](<https://devfeed.tech/tags/kerberos.md>), [keycloak](<https://devfeed.tech/tags/keycloak.md>), [ldap](<https://devfeed.tech/tags/ldap.md>), [npm](<https://devfeed.tech/tags/npm.md>), [openid-connect](<https://devfeed.tech/tags/openid-connect.md>), [saml](<https://devfeed.tech/tags/saml.md>), [self-service](<https://devfeed.tech/tags/self-service.md>), [sso](<https://devfeed.tech/tags/sso.md>)

### AI overview

This tutorial shows how to install and configure Keycloak in an Angular CLI application using a schematic. It covers importing a generated client configuration, running the application, and using the resulting Keycloak service and guard for authentication-related features. The integration is described as early alpha software.

### Source excerpt

So I made a schematic that installs and configures Keycloak in any Angular CLI application. If you want to try it out, do this from the command line: npm install -g @ssilvert/keycloak-schematic ng new myApp cd myApp ng generate keycloak --collection @ssilvert/keycloak-schematic --clientId=myApp Now Keycloak is integrated into your app. Of course, you can do this with any existing Angular CLI application. It doesn't have to be a new one. Then, go to the Keycloak Admin console (master realm) and go to Clients --> Add Client --> Select File. Select the client-import.json file that the "ng generate keycloak" command created in /myApp. Assuming your Keycloak server is running on localhost:8080, you are ready to go. Start your application: ng serve Go to your browser to start the app and see this: Oh joy! myApp is protected with Keycloak! The keycloak-schematic installs a KeycloakService and a KeycloakGuard. So you can easily: Add login/logout buttons Access user self service (account management) Guard protected routes instead of the whole app Work with roles Lots more Click here for a comprehensive getting started guide, full documentation, and sample code. Note that this stuff is early alpha right now. And it will move from @ssilvert to @keycloak before long. In the mean time, I'd love to get feedback. There is a lot to do to make Keycloak/Angular integration even better, but I think the keycloak-schematic is a big step forward. So long, and thanks for all the fish.

## Compile-time vs. Runtime configuration of your Angular App

DevFeed: [Compile-time vs. Runtime configuration of your Angular App](<https://devfeed.tech/articles/compile-time-vs-runtime-configuration-of-your-angular-app-21324.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2018/01/ng-app-runtime-config/>)

Published: 2018-01-21T00:00:00Z

Content type: article

Language: en

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

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [app startup](<https://devfeed.tech/topics/app-startup.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [compile](<https://devfeed.tech/tags/compile.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

Angular compile-time configuration bundles environment-specific settings into the app. With Angular CLI, add properties to environment files, import the generic environment object, and configure CLI build options to select variants such as staging; the built-in production build uses production settings by default and enables AOT compilation. Runtime configuration suits settings that must change independently of the build or come from an API: deploy a JSON settings file and load it over HTTP when the app runs. The excerpt says the app should wait until settings are loaded and applied, but cuts off before showing a complete implementation.

### Source excerpt

Lorem ipsum dolor sit amet

## Configure Ahead of Time (AoT) for your Angular app using the Angular CLI

DevFeed: [Configure Ahead of Time (AoT) for your Angular app using the Angular CLI](<https://devfeed.tech/articles/configure-ahead-of-time-aot-for-your-angular-app-using-the-angular-cli-21307.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2016/12/configure-aot-with-angular-cli/>)

Published: 2016-12-02T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [aot](<https://devfeed.tech/tags/aot.md>), [cli](<https://devfeed.tech/tags/cli.md>), [configure](<https://devfeed.tech/tags/configure.md>)

### AI overview

The excerpt says the Angular CLI could enable Ahead-of-time (AoT) compilation by appending a flag to the build command, but the flag itself is missing from the supplied text. An update dated March 1, 2017 says production builds enabled AoT automatically when using the flag, so it no longer needed to be added explicitly; the flag remained available for using AoT in development mode. The text also identifies creating a production bundle and activating AoT as topics covered in the video.

### Source excerpt

Lorem ipsum dolor sit amet

## Configure a proxy for your API calls with Angular CLI

DevFeed: [Configure a proxy for your API calls with Angular CLI](<https://devfeed.tech/articles/configure-a-proxy-for-your-api-calls-with-angular-cli-21301.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2016/11/configure-proxy-api-angular-cli/>)

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

Content type: tutorial

Language: en

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

Topics: [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [ajax](<https://devfeed.tech/tags/ajax.md>), [angular](<https://devfeed.tech/tags/angular.md>), [api](<https://devfeed.tech/tags/api.md>), [backend](<https://devfeed.tech/tags/backend.md>), [cli](<https://devfeed.tech/tags/cli.md>), [configure](<https://devfeed.tech/tags/configure.md>), [cors](<https://devfeed.tech/tags/cors.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>)

### AI overview

The Angular CLI development server can proxy API requests to a backend running on another port or host. This lets a classic app make requests through the frontend's origin, avoiding the need to hard-code the backend's full URL in each call and addressing the CORS issue described in the excerpt. The source distinguishes this approach from adding CORS headers, which it says is necessary for a generic API whose consumers are unknown. The excerpt cuts off while explaining how the proxy handles requests, so it does not provide setup steps or configuration syntax.

### Source excerpt

Lorem ipsum dolor sit amet

## Let's create your first Angular app

DevFeed: [Let's create your first Angular app](<https://devfeed.tech/articles/let-s-create-your-first-angular-app-21300.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2016/10/lets-create-ur-first-ng2-app/>)

Published: 2016-10-04T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [app](<https://devfeed.tech/tags/app.md>), [cli](<https://devfeed.tech/tags/cli.md>), [code](<https://devfeed.tech/tags/code.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [create](<https://devfeed.tech/tags/create.md>), [data](<https://devfeed.tech/tags/data.md>), [first](<https://devfeed.tech/tags/first.md>), [forms](<https://devfeed.tech/tags/forms.md>), [generate](<https://devfeed.tech/tags/generate.md>), [http](<https://devfeed.tech/tags/http.md>), [learn](<https://devfeed.tech/tags/learn.md>), [modules](<https://devfeed.tech/tags/modules.md>), [project](<https://devfeed.tech/tags/project.md>), [repository](<https://devfeed.tech/tags/repository.md>), [rxjs](<https://devfeed.tech/tags/rxjs.md>), [state](<https://devfeed.tech/tags/state.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>)

### AI overview

This roughly 50-minute screencast guides viewers through building a first Angular application, with content based on Angular 2 or later. It covers creating a project with the Angular CLI, modules and components, component styling, data flow and stateful versus stateless components, forms, RxJS, services, and Angular's HTTP library. Source code is available from the creator's repository.

### Source excerpt

Lorem ipsum dolor sit amet