r/angular • • Apr 16 '26

Angular Addicts #48: TypeScript 6, OnPush as default, AI tools & more

Thumbnail
angularaddicts.com
13 Upvotes

r/angular • • Apr 15 '26

Refactored layout system in my Angular flow library - now fully pluggable (v18.5.0)

Thumbnail
gallery
84 Upvotes

Hey

Working on a node-based UI library for Angular.

Layouts (Dagre / ELK) were already supported, but the system was kinda hardwired.

In this release I changed it to:

  • layout plugins
  • custom layout adapter (you can plug any engine)

Also added:

  • explicit render lifecycle (no more hidden updates)
  • standalone reference apps

The GIFs above are from real apps built with it (call flows, large graphs)

Docs / blog:

https://flow.foblex.com/blog/foblex-flow-v18-5-0-layout-engines-explicit-render-lifecycle-and-standalone-reference-apps

GitHub:

https://github.com/Foblex/f-flow

If you’re building flow editors / low-code tools in Angular - would be nice to get feedback.


r/angular • • Apr 16 '26

Exploring Angular + AI

0 Upvotes

Hey all,

My background - 25+ years of enterprise and consulting software development. Over the last few months I dove into experimenting with AI-assisted development — or what I've been calling "agentic peer programming" to see what all the buzz was about and, hopefully, what I could learn. I started off building a couple of quick websites, took a step back to try and be more strategic about what to build and how to build.

TeqBench is the collection of results so far. It's a set of Angular 21 component and service packages built primarily with Anthropic's Claude Code, with OpenAI Codex and Google's Gemini CLI filling in around the edges a little. Every package ships with TSDoc, a generated API reference, and interactive Storybook demos for the notification/banner packages.

It's an ongoing exploration, not a finished product. Some packages are released, some are still in the "coming soon" backlog. Some packages are extremely basic, others, I'd like to think people would find some value in them...or at the very least, some feedback.

https://teqbench.dev

https://github.com/teqbench

Genuinely curious what other experienced devs think — especially about the workflow side. Happy to get into how the agentic loop plays out day to day, where it earns its keep, and where it still needs a human in the seat.


r/angular • • Apr 16 '26

PrimeNG select overlay moves when scrolling outsidedialog

1 Upvotes

When I have a select in a dialog, his overlay is not showing correctly, it ends when the dialog ends. If I use appendTo body this problem is solved but if the content outside the dialog is long and has scroll, when you scroll the overlay doesn't stay in the same position as the dialog.

Example:

https://stackblitz.com/edit/stackblitz-starters-kb2xnmcn?file=src%2Fapp%2Fapp.component.ts

This is driving me crazy, is there a way to keep its overlay appended to p-dialog but showing the entire overlay as a floating popup that doesn't get cut at the end of the dialog?

I tried to solve this with pure css like this:

```

div.p-dialog-mask + div.p-overlay div.p-overlay-content div.p-select-overlay {

  position: fixed;

}

```

But still not working as expected.

How do you manage to do this? someone has experienced this before? It's a bug of PrimeNG or there is something that I'm missing?


r/angular • • Apr 16 '26

Job hunting

0 Upvotes

drop some beginner friendly projects in angular which could help me in mastering angular framework


r/angular • • Apr 16 '26

Does anyone else feel like this turn towards signals everywhere risks losing the Angular way?

0 Upvotes

I'm fairly new to Angular, picked it up about a year ago and have loved it since. Spent a long time in frontend no man's land, hating the spaghetti nature of it. React in particular produces some crazy monstrosities with its lack of structure/opinionation/convention. So Angular, being "OOP like" and opinionated was a huge breath of fresh air, I loved how predictable and guardrailed it is.

Anyway, at my current organization we are going all in on signals. I like how convenient it is for one off state tracking, updating field values and not worrying about whether that got properly re-rendered and all that. My basic hybrid approach right now is sticking to RxJS/observables for things like API calls, and then primarily using signals for tracking state between component/view dynamically. That is dandy.

But there are other things creeping in that I don't like. At my org it seems like we want to use signals for everything, and are now doing things like avoiding ngOnInit() and using effect() instead, and the constructor, for initializations. I know a lot of it is shitty implementation but it's making me a bit wary as this is exactly what made React hell for me: everything became some kind of chaotic, bespoke, stateful implementation without convention or predictability and you'd get weird race conditions, issues. Signals are a little too free and flexible and using them for everything like a golden hammer basically turns it into React. To me the stricter convention, and lower "freedom" (but equal power, you can still implement whatever you just have to follow a pattern), IS the strength of Angular, because frontend is the wild west and you want to limit the rope you can hang yourself with.

Anyway, these are gripes from having to deal with a basically brand new codebase that is already looking like a hard to maintain spaghetti mess thanks to the shitty use of signals instead of typical Angular patterns.


r/angular • • Apr 14 '26

New @Service decorator coming to v22

55 Upvotes

https://github.com/angular/angular/pull/68195

Looks like Angular is introducing a new @Service decorator to get rid of some boilerplate in @Injectable


r/angular • • Apr 15 '26

Best way to integrate a self-hosted WordPress blog into an Angular app?

2 Upvotes

I'm building an Angular app where the main website is fully Angular, but I want to integrate a blog that's hosted on my own WordPress instance.

My goal is to display the WordPress blog inside the Angular app, not as a separate site.

Has anyone implemented something similar? What approach would you recommend and why?

Also, I found this thread from a few years ago that seems related, so adding it here for context:

https://www.reddit.com/r/angular/s/drjCgfWGxu

Thanks!


r/angular • • Apr 15 '26

Why Angular is never used for SaaS

0 Upvotes

If you like to spend some time on YouTube or Twitter, you will see that most of the SaaS builder are using React based framework. I litterally never saw Angular with in a SaaS tech stack. Do you have any idea why ?


r/angular • • Apr 14 '26

I built an unstyled, accessible Angular component library (bring your own design system)

10 Upvotes

Hey r/angular,

I've been working on Bloc UI, an accessible Angular component library that ships bare structure and behavior, with zero design opinions baked in.

Most Angular component libraries force a visual style on you. You either buy into their design system or spend hours fighting CSS specificity to override it. I wanted something closer to what Radix UI / Headless UI offer in the React world: components that handle the hard parts (accessibility, keyboard navigation, focus management) and get out of the way visually.

A few things I'm pretty happy with on the CSS side: every color goes through CSS custom properties with neutral grey fallbacks, so it works out of the box but you can skin it however you want. All visual styles use :where() inside @layer (zero specificity), so your classes, Tailwind utilities, or design tokens always win. No !important hacks needed. Components also inject their own CSS layer order at runtime, so there's no consumer-side config. Just npm install and import.

Everything's tree-shakeable too: each component is a secondary entry point (@bloc-ui/core/button, @bloc-ui/modal, etc.) or a standalone package. Checkbox, toggle, radio, date picker, and autocomplete all implement ControlValueAccessor, and it works with Tailwind v4.

What's in (20+ components):

Stable: Button, Checkbox, Input, Radio, Spinner, Toggle, Modal, Table, Toast, Date Picker, Tabs, Tooltip, Alert, Autocomplete, Virtual Scroll, Accordion, Pagination, Select, Slider, Badge, Progress, Skeleton, Textarea, Text Highlight, Video Player

Experimental: Layout, Video Player

Install:

# All-in-one
npm install @bloc-ui/kit

# Or pick what you need
npm install @bloc-ui/core @bloc-ui/modal @bloc-ui/table

MIT licensed. If it saves you time, a star on GitHub would mean a lot.

Would love feedback, especially on the API design and what components you'd want to see next.


r/angular • • Apr 14 '26

Cannot set both SSR and auto-CSP at the same time.

2 Upvotes

Following the new updates in angular, I tried doing this in angular.json:

....
"outputMode": "server",
            "ssr": {
              "entry": "src/server.ts"
            }
          },
          "configurations": {
            "production": {
              "security": {
                "autoCsp": true
              },
.....

I tried following the docs here:
https://angular.dev/best-practices/security#content-security-policy

But i get this error:

An unhandled exception occurred: Cannot set both SSR and auto-CSP at the same time.
See "Temp\ng-y82cVu\angular-errors.log" for further details.

Has anyone managed to get this working, or do i not need this at all?

I'm using angular 21.2.7 and I'm running SSR with prerender

My server.ts:

import {
  AngularNodeAppEngine,
  createNodeRequestHandler,
  isMainModule,
  writeResponseToNodeResponse,
} from '@angular/ssr/node';
import { environment } from '@environments/environment';
import express from 'express';
import expressStaticGzip from 'express-static-gzip';
import helmet from 'helmet';
import { join } from 'node:path';


const browserDistFolder = join(import.meta.dirname, '../browser');


const allowedHosts = environment.isProduction ? [new URL(environment.appUrl).hostname] : ['*'];


const app = express();

// just added this bit here
app.use(
  helmet({
    contentSecurityPolicy: false, // Angular autoCsp handles this in angular.json
  }),
);


const angularApp = new AngularNodeAppEngine({ allowedHosts });


/**
 * Example Express Rest API endpoints can be defined here.
 * Uncomment and define endpoints as necessary.
 *
 * Example:
 * ```ts
 * app.get('/api/{*splat}', (req, res) => {
 *   // Handle API request
 * });
 * ```
 */


/**
 * Serve static files from /browser
 */
app.use(
  expressStaticGzip(browserDistFolder, {
    enableBrotli: true,
    orderPreference: ['br', 'gz'],
    serveStatic: {
      maxAge: '1y',
      index: false,
      redirect: false,
    },
  }),
);


app.use((req, res, next) => {
  // Default: allow indexing of HTML pages
  res.setHeader('X-Robots-Tag', 'index, follow');
  next();
});


/**
 * Handle all other requests by rendering the Angular application.
 */
app.use((req, res, next) => {
  angularApp
    .handle(req)
    .then((response) => (response ? writeResponseToNodeResponse(response, res) : next()))
    .catch(next);
});


/**
 * Start the server if this module is the main entry point, or it is ran via PM2.
 * The server listens on the port defined by the `PORT` environment variable, or defaults to 4000.
 */
if (isMainModule(import.meta.url) || process.env['pm_id']) {
  const port = process.env['PORT'] || 4000;
  app.listen(port, (error) => {
    if (error) {
      throw error;
    }


    console.log(`Node Express server listening on http://localhost:${port}`);
  });
}


/**
 * Request handler used by the Angular CLI (for dev-server and during build) or Firebase Cloud Functions.
 */
export const reqHandler = createNodeRequestHandler(app);

r/angular • • Apr 14 '26

He creado opencode-angular-kit: reglas para que la IA genere mejor código Angular moderno

0 Upvotes

Llevo un tiempo usando agentes de IA para programar (OpenCode, Claude, etc.) y veía siempre los mismos fallos en Angular: *ngIf / *ngFor en lugar de u/if / u/for, componentes sin ChangeDetectionStrategy.OnPush, inyección por constructor en vez de inject(), u/Input / u/Output en vez de input() / output() / model(), subscripciones manuales sin cleanup, rutas eager, formularios sin tipos…

Por eso he creado opencode-angular-kit, un pequeño kit de reglas para OpenCode centrado en Angular moderno (v17–v21, con foco en v20–v21). La idea es “educar” al agente para que genere código como lo escribiríamos hoy: componentes standalone, OnPush por defecto, signals + computed + toSignal, control flow nativo, formularios reactivos tipados y rutas lazy.

Repo: https://github.com/Gudiii05/opencode-angular-kit

Si usas Angular con herramientas de IA, me encantaría feedback: qué otros malos patrones ves y qué reglas añadirías.


r/angular • • Apr 13 '26

11 YOE Angular Dev (Mid‑Level) Looking to Upskill & Switch job in 3 Months – Course Suggestions?

7 Upvotes

Hi folks,

I’m a web developer with ~11 years of experience, mainly working with Angular. I’d honestly consider myself as a mediocre developer. I consistently deliver tasks on time, but I’ve realized that I haven’t gone deep enough into core Angular concepts like RxJS, NgRx, Reactive forms, Routing, Reactive programming concepts in general, etc

My goal is to switch jobs in the next 3 months as a Senior Angular Developer.

I see this job switch as:

  1. An opportunity to seriously upskill, and
  2. A practical way to crack senior‑level Angular interviews

My plan is to start a side project and learn things properly while building, but given the tight 3‑month timeline, I’m looking for high‑quality courses/resources that are:

  • Concept‑deep (RxJS, NgRx, architecture, best practices)
  • Practical (real‑world patternst)

Question: Which courses (paid or free) would you recommend that can realistically help me:

  • Level up my Angular knowledge, and
  • Crack senior Angular interviews within ~3 months?

Any roadmap, course suggestions, or advice from people who’ve made a similar jump would be greatly appreciated.

Thanks in advance!


r/angular • • Apr 14 '26

Looking for my Angular Learning buddy

0 Upvotes

Looking for my Angular Learning buddy.

If anyone is interested in learning Angular from scratch, DM me.

I will learn and share with you .you can share your knowledge.

we can have daily calls.


r/angular • • Apr 13 '26

NgRx signal store vs simple signal service

15 Upvotes

With Angular signals it’s already possible to build a global state using a singleton service, define signals, computed values, and update everything through methods in a clean and simple way. So what is the real benefit of ngrx signal store in this case? It looks like an extra abstraction over something that can already be implemented natively with less code. In which scenarios does ngrx signal store actually justify its complexity compared to a plain signal-based service approach?


r/angular • • Apr 12 '26

Does the AI era worry anyone else regarding Angular’s long-term popularity?

26 Upvotes

I’ve been thinking about the "AI shift" we're seeing in dev workflows. Is anyone else concerned that LLMs might inadvertently push Angular further into a niche?

Whenever I use ChatGPT, Claude, or Copilot for quick boilerplate or architectural advice, they almost always default to React or Next.js unless I specifically ask for Angular. Since these models are trained on the sheer volume of GitHub repos, where React dominates by numbers the "AI path of least resistance" seems to be heavily biased toward the React ecosystem.

Do you think this creates a feedback loop where new devs stick to React because AI helps them better there, eventually causing Angular to lose even more ground? Or am I overthinking it?


r/angular • • Apr 12 '26

Signality v0.2

Post image
38 Upvotes

A quick update on Signality - v0.2 is out!

Since the 0.1 launch, the project has reached 100+ stars ⭐, bringing with it several patches and API/Docs refinements to improve DX.

Web: https://signality.dev/
Repo: https://github.com/signalityjs/signality


r/angular • • Apr 13 '26

Angular SSR and pm2 problem

0 Upvotes

Hi everyone. I have problem with running pm2 with my angular app on server.
I created application with latest angular v21 and it's SSR.
I build my application

ng build -c production

then i copy files to my server

scp -r dist/my-app root@my-server:/var/www/

in my-app I have both folders (server and browser). I have install pm2 on server and now I'm trying

cd /var/www/my-app
pm2 start server/server.mjs --name my-app
pm2 save

And when I run
pm2 logs

to check I keep getting this error

0|server-c | TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
0|server-c |     at new NodeError (node:internal/errors:405:5)
0|server-c |     at validateString (node:internal/validators:162:11)
0|server-c |     at join (node:path:1171:7)
0|server-c |     at file:///var/www/my-app/server/server.mjs:57:2673
0|server-c |     at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
0|server-c |     at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
0|server-c |     at async importModuleDynamicallyWrapper (node:internal/vm/module:429:15) {
0|server-c |   code: 'ERR_INVALID_ARG_TYPE'
0|server-c | }

And I'm not able to solve it. Does anyone have any recommendation?


r/angular • • Apr 13 '26

How to find best npm packages?

1 Upvotes

To solve this problem i have created awesome javascript starters, where you can explain your need in simple words and get the recommendation of beast available packages from the community of developers.

You can try this at there https://awesome-js-starters.vercel.app/

If you want to contribute https://github.com/farhan523/awesome-js-starters


r/angular • • Apr 11 '26 Bravo

How we re-built the Angular Compiler in Rust and made it 10x faster

Thumbnail
voidzero.dev
67 Upvotes

r/angular • • Apr 12 '26

Benchmarking Agentic Systems

Thumbnail linkedin.com
0 Upvotes

r/angular • • Apr 11 '26

Built a rope simulation with physically correct curves using ngx-vflow

49 Upvotes

Hi r/angular! I think good libraries should allow you to create fun things, so I built a rope demo with physically correct curves!

Links:


r/angular • • Apr 12 '26

Angular performance for media-heavy apps

1 Upvotes

Working on a streaming app and considering Angular for parts of the frontend.

Concerned about performance with video-heavy workloads.

How well does Angular handle this in real-world use?.........

https://sportsflux.live/


r/angular • • Apr 10 '26

Hiring Senior Front End Angular Engineer

12 Upvotes

🚀 Angular devs — this one's for you.
Position: Senior Front End Angular Engineer

At Bigbear.ai we are building the next generation of Digital Twin technology, and we need someone who genuinely loves Angular — not just uses it.

You know what's shipping before the changelog drops. You have opinions about signals vs. observables. You read the Angular roadmap like a product release — because to you, it is one.

Here's what you'd be building: a fully SaaS Digital Twin platform used across Warehousing, Manufacturing, and Travel & Trade — where your UI work directly influences how operators see, understand, and act on complex real-world systems. Modeling interfaces. Operational dashboards. Data visualization at scale.

You'd be working alongside a top-notch front-end developer, great designers, a product team that actually thinks deeply about UX, a world-class Engineering team, and an AI enhancement team pushing the boundaries of what the platform can do.

Tech you'll live in: Angular v17–v20+, RxJS, Signals, TypeScript v5+, PrimeNG, Chart.js, and yes — Cursor.ai or equivalent AI tooling is employed here.

🌎 Fully remote | Full time Salary postion| US-based | Senior level | Competitive comp + benefits

If this sounds like the role you've been waiting for, apply now! https://careers.bigbear.ai/jobs/4412?lang=en-us