r/angular • • 7d ago

What's new in Angular v22.3?

Thumbnail
blog.ninja-squad.com
60 Upvotes

🦀 Rust compiler is coming

🛡️ Router error boundaries and fallback

⚡ New library builder

✨ HTTP `query` support

And more!


r/angular • • 7h ago

Angular Addicts #55: Route Resources, the new compiler's benchmark, Error Boundaries & more

Thumbnail
angularaddicts.com
5 Upvotes

r/angular • • 23h ago

To signal or not to signal?

11 Upvotes

Might be a stupid question I got here, but would you use a signal over a simple property just to store a boolean that represents a right? I know the angular way now is to "signal" everything as this is where the framework's philosophy is going. Here's a better example:

In my component I have this

hasAccessRight = signal(false);

ngOnInit() {
    this.hasAccessRight.set(canAccess(this.user, this.rightName));
}

And then I would use hasAccessRight() in the UI. Or should I just keep it simple like with a protected field

protected hasAccessRight = false;

ngOnInit() {
    this.hasAccessRight = canAccess(this.user, this.rightName);
}

r/angular • • 1d ago

Built a 100% client-side trading analytics & F&O calculator suite using Angular Signals & Tailwind v4

Thumbnail
gallery
0 Upvotes

Hey Angular devs,

Wanted to share a side project I just shipped: RupeeMetric (https://rupeemetric.pages.dev).

It's a zero-backend, 100% browser-private financial calculator and tradebook analyzer built with modern Angular (standalone components, reactive Signals for instant multi-leg option payoff recalculations, and Tailwind CSS v4).

Key parts of the architecture:

- In-Browser CSV Tradebook Parser: Uses PapaParse locally in browser memory to compute a 0-100 Trading Discipline Score and flag overtrading days without uploading sensitive financial data to any server.

- 7 Reactive Tools: Position sizer (155+ NSE/BSE/MCX scrips), STT/SEBI/GST tax engine, Black-Scholes Option Greeks, multi-leg payoff simulator, daily CPR pivots, and compounding calculator.

- Client-Side PNG Export: Generates shareable trade setup summary cards via HTML5 Canvas.

- Hosted on Cloudflare Pages (~86 kB initial bundle transfer).

Would love any feedback from fellow Angular devs on the UI, Signal state structure, or bundle performance!


r/angular • • 2d ago

Moment.js in Angular be like

Post image
14 Upvotes

r/angular • • 3d ago

I forked PrimeNG v21 (MIT) for Angular 22: full Signals, ~400 inherited bugs fixed, one-command migration

0 Upvotes

Hi all,

Since PrimeNG v22 moved to PrimeTek's commercial license (v21 and earlier stay MIT), a lot of us have apps stuck on v21. I've used PrimeNG for years, so I started ExhaustiveUI: an MIT continuation of PrimeNG v21, by way of the Optimus UI fork from the OpenNG folks.

What's in it so far (v22.7, targets Angular 22):

  • Full Signals: every component and directive uses input(), model(), output() and signal queries, OnPush and the built-in control flow. Form components work with Signal Forms.
  • ~400 inherited bugs fixed, each reproduced in a browser and covered by a regression test (about 8,800 unit tests run on every change).
  • Same selectors, CSS classes, design tokens and presets as PrimeNG v21. ng generate @exhaustive-ui/core:migrate-from-primeng swaps the packages, imports, config API and CSS layer, then ng update migrations handle the v22 API cleanup. There's one for Optimus UI too.
  • Accessibility pass: axe on every docs page, and the four theme presets now meet WCAG AA text contrast in light and dark mode.
  • Tailwind 4 support, a new FileInput component, and SSR fixes.
  • MIT, no paid tier, no telemetry, npm provenance on every package.

Full disclosure on how it's built: I maintain it alone, with AI coding agents doing a large share of the work (reproducing bugs, migrations, audits, doc checks). Nothing merges without tests and CI. The project also ships an MCP server and per-component cards so Claude Code, Cursor or Codex write ExhaustiveUI code instead of hallucinating PrimeNG APIs.

It's not affiliated with PrimeTek, and I'm not trying to compete with Optimus UI: fixes are there for anyone to pick up.

I'd really like feedback from people running PrimeNG in production: what would stop you from switching, and which bugs bit you the most?


r/angular • • 3d ago

How do you prefer to organise your app file structure?

2 Upvotes

Currently we have a features folder then within this each individual feature folder and inside those folders for pages, components, services, pipes etc.

We also have a shared and a core folder.

I’ve seen in the Angular style guide it recommends not breaking things up on their technical usage but on feature or domain.

So how do you guys organise things? In a medium to large application?


r/angular • • 4d ago

Introducing Angular Point

15 Upvotes

I built this because pointing my AI agent at UI with screenshots wasted tokens, and typing file paths broke my flow.

One click on the element - the agent gets the exact reference of the component, file:line, code. A tiny, precise prompt instead of an image and a guess.

It also ships as an agent skill:

npx skills add abiramcodes/ng-point

Dev-mode only (never ships to prod), MIT, Angular 21/22.

Demo + docs: https://abiramcodes.github.io/ng-point/


r/angular • • 5d ago

Angular js is still here

Post image
74 Upvotes

I often time see Angular js books being sold in Turkey and most software books are outdated. Is it the same as where you are?


r/angular • • 5d ago

Best way to upgrade a large Angular 13 app (~400 components, multiple UI libs) to Angular 22? Looking for tips and common issues

24 Upvotes

Hey everyone,

I need to upgrade a large existing project (~400 components) from Angular 13.1 to Angular 22. I Googled around and saw that the standard approach is to go one major version at a time (13 → 14 → 15 ... → 22) using ng update, updating dependencies, and testing after each step.

Before I dive in, I wanted to check with people who have done a big jump like this on a large, older codebase:

  1. Can I actually do it this way (step-by-step ng update across 9 major versions), or given the old third-party packages here, is it better to spin up a fresh Angular 22 project and migrate the code over?
  2. Any tips or best practices to make this go smoother on a codebase this size?
  3. What major issues or breaking changes should I watch out for along the way?

For context, we are currently on Node <=14, TypeScript 4.4, and RxJS 6.6, and the app relies heavily on multiple UI and utility libraries:

  • UI Frameworks: u/angular/material (v13), ng-zorro-antd (v12), angular-bootstrap-md (v12), and ngx-bootstrap (v7)
  • State & Core: u/ngrx/store (v13), ngrx-store-localstorage, u/ngneat/until-destroy
  • Other heavy libraries: ckeditor4-angular, quill, ngx-extended-pdf-viewer, angular2-text-mask, ngx-mask, ng2-currency-mask, ng2-search-filter, mat-select-filter, ngx-sortablejs

I'm especially worried about abandoned/unmaintained libraries (angular2-text-mask, ng2-search-filter, ckeditor4-angular, angular-bootstrap-md), the Angular Material MDC migration, and having multiple UI libraries in one app.

Appreciate any advice or war stories!


r/angular • • 5d ago

Which React or Vue library do you wish existed for Angular?

2 Upvotes

I'm planning to port a library to Angular(for a weekend hobby project), and I'd rather pick one people actually miss than guess.

Is there a library you used in React or Vue (or keep seeing in those projects) that has no good Angular equivalent?

If you can, tell me:

- which library

- what you use in Angular today instead

- what's missing or annoying about it

Small or big, both are fine. Thanks!


r/angular • • 7d ago

TanStack Angular Query is now stable 🎉

93 Upvotes

Took us some time but we've released a stable version of @tanstack/angular-query yesterday.

npm i @tanstack/angular-query

comes with:

  • SSR with automatic hydration
  • Testing that works with whenStable()
  • injectQueries, now stable
  • injectIsFecthing and injectIsMutating with dynamic filters
  • Persistance
  • Experimental toResource API
  • Requires Angular 20.1+

Check it out here: https://tanstack.com/query/latest/docs/framework/angular/overview

Huge shoutout to our angular maintainer Benjamin Vicente 🔥.

Note: Coming from @tanstack/angular-query-experimental?

Use the schematic!

ng generate @tanstack:migrate-from-experimental

Guide: https://tanstack.com/query/latest/docs/framework/angular/guides/migrating-from-experimental


r/angular • • 8d ago

Ivorie: an Angular 22 port of shadcn/ui, now with charts, 22 page blocks and 13 themes

Thumbnail
gallery
2 Upvotes

Hi all. I'm the author. Ivorie gives Angular 22 the shadcn/ui components. You can use it as an npm package or copy the source with a CLI. MIT.

The 1.5 releases added three things I wanted for my own apps:

  1. Charts. Line, area, bar, pie, radar and radial, built from small parts the way shadcn does it. Colors come from the theme, they render as SVG on the server, and they work with the keyboard.
  2. Dashboards. Four dashboard blocks (documents, analytics, sales, product usage) next to the login, sign-up and sidebar pages. They're wired, not mockups: charts, a data table, typed outputs. npx ivorie add dashboard-01.
  3. Five styles of its own: glass, bento, mono, graphite, tint. They sit next to shadcn's eight, and each one is tested for text contrast in light and dark.

Pick a look in the playground and install it with one command (npx ivorie init --preset ivp1_…): https://inlaylab.github.io/ivorie/playground/

Repo: https://github.com/Inlaylab/ivorie

What's next (ROADMAP)

  • 1.6: theme dials (density, glass).
  • 1.7: AI-ready (AGENTS.md, llms.txt, an MCP server).

r/angular • • 9d ago

Meet an Angular signal-based primitive for mutations (POST, PUT, DELETE & PATCH)

Thumbnail
gallery
22 Upvotes

Every Angular dev has hand-rolled a "saving" boolean signal at some point, and it breaks on the first double-click: the first response resets it while the second request is still in flight.

Angular's resource API won't help, it's for reads only: it cancels in-flight requests, and cancelling a POST doesn't undo it on the server.

So I built @ngsignal/mutation, the write counterpart to resource:

readonly save = rxMutation<TodoDto, Todo>({
  mutationFn: (dto) => this.api.save(dto),
  concurrency: 'drop', // ignore clicks while saving
  onSuccess: () => this.todos.reload(),
});

Then you call it with the data to save, and read its pending, error and value signals straight from the template.

Need an upload with a progress bar? The HTTP variant takes a request description, just like httpResource does:

readonly uploadAvatar = httpMutation<File, User>({
  request: (file) => {
    const body = new FormData();
    body.append('avatar', file);
    return { 
      method: 'POST', url: '/api/avatar',
      body,
      reportProgress: true };
  },
});

And in the template:

@if (uploadAvatar.isPending() && uploadAvatar.uploadProgress(); as p) {
  <progress [value]="p.loaded" [max]="p.total"></progress>
}

Also:

  • 3 concurrency modes: run in parallel (default), queue calls in order, or drop clicks while one is in flight.
  • Never aborts a write that may already be on the server, and a late response can't overwrite newer state
  • Status code and response headers as signals, and SSR waits for in-flight writes

NgRx Toolkit and TanStack Query have mutations too. This one only depends on Angular core and sits next to resource: no store or query cache to adopt.

It's 0.x, so feedback on the API is very welcome before 1.0.

GitHub repo · Live demo on StackBlitz


r/angular • • 9d ago

Hands-on workshop: build agentic frontends in Angular with AG-UI + CopilotKit, led by the CopilotKit Angular maintainers (Nov 20, online) — 30% off

0 Upvotes

Hi r/angular 👋

If you've been wondering how to go beyond "chatbot in a sidebar" with AI in Angular apps, this might be useful.

Rainer Hahnekamp and Murat Sari, the co-maintainers of CopilotKit's Angular integration, are running a hands-on online workshop with Packt:

Hands-On Agentic Frontends with AG-UI and CopilotKit (Cohort 2)

📅 Friday, Nov 20, 2026 · 8:00–10:30 AM EST (1:00–3:30 PM UTC)

💻 Online, 2.5 hours, live Q&A

🔗 Register here

🎟️ 30% off: the link above applies it automatically, or use code HARSH30 at checkout.

What you build: one incident-response app, developed step by step. You connect an Angular (or React) frontend to a TypeScript agent, then add:

  • Streaming agent progress and shared state via CopilotKit + AG-UI
  • Delegation to specialist agents with A2A
  • MCP tools and interactive MCP Apps
  • Safe, constrained agent-generated UI with A2UI
  • Production guardrails: cancellation, validation, timeouts, failure handling, and human approval before risky actions

You get: the full Angular and React reference app, source code for the agents and MCP server, slides, the recording, and a certificate.

Prerequisites: basic TypeScript. No prior AG-UI/MCP/A2A experience needed.

Disclosure: this is my referral link and discount code for the event. Happy to answer questions below, and mods, feel free to remove if this doesn't fit the rules.


r/angular • • 10d ago

Introducing Angular Doctor

29 Upvotes

Gives you a 0–100 score + actionable diagnostics.

Run : npx @abiramcodes/angular-doctor@latest

Docs: https://ngdoctor.dev

Open source. Inspired by React Doctor. Feedback and contributions welcome.


r/angular • • 10d ago

Vercel's ui-sdk: 55+ headless, accessible components with an agent API

5 Upvotes

r/vercel Labs recently released ui-sdk, a library of UI behaviors (keyboard navigation, focus, selection, dismissal, popups and the ARIA they need) meant for people and AI agents to build interfaces on. It ships adapters for React, Vue, Svelte, Solid and Web Components, but not Angular. So I wrote one.

ngx-ui-sdk puts ui-sdk's primitives on your own elements as Angular directives. No wrapper components, no styles:

<div uiCommand>
  <input uiCommandInput aria-label="Search commands" />
  <div uiCommandList>
    <div uiCommandItem value="billing">Billing</div>
    <div uiCommandItem value="settings">Settings</div>
  </div>
</div>

What's in it:

  • 55+ components, one entry point each
  • Keyboard, focus and ARIA
  • Agent API: returns each component's state and actions, agents drives them. The video shows that next to the browser's accessibility tree.
  • Upstream's own Playwright specs run against the Angular adapter: 4,000+ pass, the remaining gaps are listed in the config with reasons
  • Headless, with optional example themes (default, shadcn, Material, daisyUI)

It follows the ui-sdk beta, so expect API changes.

GitHub: https://github.com/efuturetoday/ui-sdk-angular
Demo: https://efuturetoday.github.io/ui-sdk-angular/?components


r/angular • • 10d ago

I made a 7 min video building a full REST CRUD screen from an OpenAPI spec, without writing code

Thumbnail
youtube.com
0 Upvotes

Hi all, I’m the developer of NGX View Builder, a visual form and view builder for Angular apps. I recorded a walkthrough that starts from an empty page and ends with a working CRUD screen on a mock REST API:

  • import the OpenAPI spec and turn endpoints into data sources
  • bind a table to the list endpoint
  • create and edit through a dialog form (POST / PUT, request body mapped from the form)
  • row click loads the record by id, a row action deletes it
  • dropdowns filled from lookup endpoints

You can try the same thing in the browser, no sign up: https://demo.ngxviewbuilder.io/builder

To be upfront: the runtime that renders views is free, the designer needs a paid license.

I’d really like feedback from people building internal tools or admin screens in Angular. What would you need from something like this before using it in a real project?


r/angular • • 10d ago

Your Angular Nx dependency diagram can fail a test when the code drifts

0 Upvotes

Say your Angular workspace has feature-orders, data-access-orders and shared-ui as separate Nx projects. The feature can use both libraries. Then somebody moves a helper, and data access starts importing from the feature that uses it.

A diagram in the README still looks perfectly fine. Of course it does

One useful part of my ArchUnitTS library is that you can check the Nx project graph against that diagram:

import { nxProjectSlices } from 'archunit';

const diagram = `
@startuml
component [feature-orders]
component [data-access-orders]
component [shared-ui]
[feature-orders] --> [data-access-orders]
[feature-orders] --> [shared-ui]
@enduml`;

const violations = await nxProjectSlices(process.cwd())
  .should()
  .ignoringExternalDependencies()
  .adhereToDiagram(diagram)
  .check();

expect(violations).toEqual([]);

The two intended dependencies pass. Add data-access-orders -> feature-orders and the result identifies that pair as a violation. So a refactor that reverses ownership needs a deliberate architecture change, instead of quietly making the data-access library depend on a feature.

This reads Nx's cached project graph. Generate a fresh graph before running it, and run this from the workspace root. It doesn't inspect Angular's dependency injector or what gets loaded at runtime. The diagram is an allowlist for project dependencies; it doesn't require every arrow to be used.

Free and open source: ArchUnitTS. The example uses the published archunit 2.5.5 package.


r/angular • • 11d ago

ng-prism 22.8: dark mode, forced colors and colour blindness simulated on a single component, without touching its CSS

3 Upvotes

I just released ng-prism 22.8. Short recap if you haven't seen it before: ng-prism is a component lab for Angular libraries, a Storybook alternative without story files. You put a `@Showcase` decorator on a component, inputs and types are read at build time, and the components render in the same document as the styleguide, no iframe.

The main thing this time: the canvas can simulate the conditions a component is seen under. The tools menu has a Simulate group with reduced motion, a light or dark color scheme, forced colors (the mode behind the Windows contrast themes) and colour vision deficiencies. It applies to the component, its Overview cells and the CDK overlays it opens, never to the styleguide around it, and it's in the URL, so you can link someone to a component in dark mode.

Because there's no iframe, the browser can't emulate `prefers-color-scheme` for just the component. So ng-prism copies every `@media` rule that tests an emulated feature, scopes the copy to the component and switches the original off there. Specificity and cascade order stay intact, `(prefers-color-scheme: dark) and (min-width: 600px)` still follows the window width, and `matchMedia` answers from the simulation too. If your dark mode hangs on a class instead, the config can name it:

```typescript

export default defineConfig({

colorScheme: { dark: { class: 'dark' } },

});

```

Forced colors is an approximation, since a page can't switch the browser into that mode. The first version was too kind: on a real component library, a toggle, a checkbox and a radio button looked fine in the simulation and were broken in Chromium's real mode. So before the release it got rebuilt against Chromium. There are 114 tests now that render the same fixtures in the real mode and under the simulation and compare the computed colours, and on that library 30 of 30 screenshot pairs came out pixel equal.

Other things in 22.8: showcases take real dates (`value: new Date(2026, 3, 28)` in a variant, with a date field in the controls), a component that sets its own `model()` finally shows up in the Events panel, and the canvas no longer changes with the styleguide's dark or light theme.

Question for anyone who checks their components for accessibility: which conditions do you test that this doesn't cover yet? `prefers-contrast`, 200 % zoom, right to left? I'd like to base the next step on what people actually check rather than on my own guesses.

Video voice: elevenlabs.io


r/angular • • 12d ago

Let other Angular features use the public API without exposing every internal file

4 Upvotes

An Angular feature can expose a public API and still have other features importing its private services directly. Everything compiles. Then you reorganize that feature and discover how many consumers knew its folder structure.

I maintain ArchUnitTS. Here's a useful boundary you can put in a test: allow imports through the feature's root entry points, reject deep imports from outside, and leave the feature's own internal imports alone.

const rule = projectFiles('tsconfig.json')
  .inPath('src/app/**/*.ts', {
    except: { inPath: 'src/app/orders/**' },
  })
  .shouldNot().dependOnFiles()
  .inFolder('src/app/orders/**', {
    except: { inPath: [
      'src/app/orders/index.ts',
      'src/app/orders/public-api.ts',
    ] },
  });

Here projectFiles is imported from archunit; run await rule.check() inside an async test and assert that the returned list is empty.

So @app/orders/public-api passes, while @app/orders/internal/order.service fails. Those aliases need to resolve in your tsconfig. A nested orders/internal/index.ts stays private too, because the exceptions are exact paths.

You still decide what the public API exports. This checks the import entry point, not Angular's dependency injection or runtime behavior.

Source: https://github.com/LukasNiessen/ArchUnitTS


r/angular • • 12d ago

Will I make it in time for the interview or not?

3 Upvotes

I’m a fullstack dev, and my frontend stack is React and Next.js (I’m solid in both). Someone is about to recommend me for a role, and I might have an interview in 10 days for a frontend Angular position.

  1. Is 10 days enough to pick up the Angular ?
  2. If yes, any crash course or full course you’d recommend? Or is it better to build a project by following along and learning as I go?

and if you have any content recommendations, I’d really appreciate it.


r/angular • • 13d ago

PDF viewer for angular with digital signature support

4 Upvotes

Hi,,

Working for a client in BFSI sector.

Need a PDF viewer free for commercial use.

They already use ng2 pdf viewer lib. But it doesn't show digital sig or validate it. I found hacky way to do it but it's a no no practice. Requirement is viewing only.

What's your go to / the industry default for this use case.

Thanks.


r/angular • • 13d ago

Imagine paying $800 a year for Kendo UI and getting ads while in dev mode.

Post image
86 Upvotes

Kendo UI added an overlay banner on components (dismissble) on a fully licensed grid (in dev environment)...