r/angular • u/zKuchen • 8h ago
A 2 year long journey!
r/angular • u/ItIsForMyArmpits • 11h ago
From my anecdotal experience, and stuff I've read here and elsewhere, type-checking with Zod isn't really used by Angular devs. Obviously the compiler will pick up TS definition errors, but I've been the victim of APIs, internal and 3rd party, changing without warning or by mistake and causing issues in the build.
This isn't an issue if you're TS back-to-front and are sharing your interfaces and types between them, or if you're dynamically generating your typescript definitions from the backend (though that could lead to surprises too). Mainly, just if you're in a frontend team a bit detached from the backend.
I'd appreciate some feedback on this: https://www.npmjs.com/package/@ribaldry/ngx-type-drift
The idea is that problems show up while you develop, nothing additional is added to the build only in serve, and you can wire-up your own alerting (toast, snackbar) if you want. Example: BE has been serving an object with property car_type and have now changed it to carType - you're running against a UAT or Test environment so you pick it up quick. Your tests will probably pick it up, hopefully this catches it sooner.
Complete waste of time?
EDIT:
Thanks for the feedback - never a waste of time to interact with nice Angular folks, but this does seem to be solving a problem that would be better solved elsewhere in the build process. Appreciate all those who responded!
r/angular • u/_let_me_check_ • 22h ago
Hey everyone!
I've just released an update to ngx-interpolation, adding support for Angular 20 and 21.
For those who haven't come across it, ngx-interpolation is a lightweight Angular library that allows you to parse and evaluate Angular-style interpolation expressions ({{ }}) in dynamic strings using a provided context. It supports things like property access, function calls, conditional expressions, and more.
Angular 22 support is also on the roadmap and coming soon!
It's been great to see the library gradually adopted and used by developers. Seeing an open-source project get real usage over time is a good motivation to keep maintaining and improving it.
A quick look at the numbers: the package has reached 5,558 total downloads so far.
You can check it out here:
If you've used it, I'd genuinely appreciate hearing about your experience, feedback, or suggestions for improvement.
Thanks!
r/angular • u/Old-Parsley-5826 • 2d ago
Side project I just released. You hold Alt (⌥ on Mac) in your dev app, click an element, and this goes to your clipboard:
Page: /dashboard · route dashboard → DashboardPage (src/app/dashboard/dashboard-page.ts:13)
Element: <button> "Archive"
Inside: UiButton <button ui-button> (ui-kit) · variant=primary
Declared in: Widget (src/app/widget/widget.ts:15)
Projected into: CardShell (src/app/card-shell/card-shell.ts:13)
Template: src/app/widget/widget.html:2
Find: widget.archive
Chain: Widget > DashboardPage
Context: lang=en · viewport=1440×900 (xl)The idea is to paste that into a coding agent together with what you want, like "change this text" or "add a second button here". Agents usually find the spot on their own, but they search for it first, and that costs time and tokens. With the block they skip the search and go straight to the file.
npm i -D ng-origin, then provideNgOrigin() in your providers behind isDevMode(). Production builds drop the runtime.
enableTemplateSourceLocations. Without it that line is left out.ng-origin/ngx-translate. Other i18n libs can plug in their own lookup.Page with a film (under a minute) · GitHub · MIT
If it names the wrong component somewhere in your app, I'd love an issue with the block it produced.
r/angular • u/arslanawan_dev • 2d ago
We built a telehealth platform with **four separate portals**: patient, provider, pharmacy and lab. It now serves 500+ daily active users. Here's what worked for keeping it maintainable:
**1. One shared component library, four thin portals.**
Appointment cards, record viewers, forms and tables live in a shared library. Each portal mostly composes them, so a fix in one place fixes all four.
**2. Lazy-loaded route per portal.**
A pharmacist never downloads the provider code. Each portal is its own lazy-loaded route tree, which kept bundles small.
**3. Role-based navigation + route guards.**
The menu is built from the user's role, and guards block routes they shouldn't see. The backend still enforces permissions; frontend guards are only for UX.
**4. Wrap every third-party SDK in a service.**
Video calls (Twilio) and e-prescribing (DoseSpot) sit behind Angular services. Components never touch the SDK directly, so swapping or mocking them in tests is easy.
**5. Healthcare rules shape the frontend too.**
No sensitive data in localStorage or logs, session timeouts, and clear audit-friendly actions.
**What I'd do differently:** set up the shared library and design tokens on day one. We extracted shared components later, and that refactor took longer than building them right the first time.
How do you structure multi-role apps in Angular: one app with role-based routes, or separate apps sharing a library?
r/angular
•
u/younesjd
•
3d ago
The skill teaches agents how to write behavioral and readable tests:
fixture.whenStable() and fixture.detectChanges() soup. Actually, no more fixture 😊fixture.my.private.implementation.detailsTry it: npx skills add marmicode/skills -s angular-testing
https://github.com/marmicode/skills#angular-testing
The skill is evaluated on each change to avoid regressions.
A good first step: ask your agent to rewrite one of your existing tests with it.
The skill is evaluated on every change to catch regressions, so if you see anything that could be improved, please open an issue. The more real-world scenarios it covers, the better the skill gets for everyone.
r/angular • u/arslanawan_dev • 3d ago
We had 5 business reports embedded from Looker Studio via iframes. They were slow, the styling didn't match, and the drill-down was clunky. We rebuilt them natively in Angular with Apache ECharts.
What made the biggest difference:
1. Modular ECharts imports + lazy-loaded report routes. Only bundle the chart types you actually use.
import * as echarts from 'echarts/core';
import { BarChart, LineChart } from 'echarts/charts';
import { CanvasRenderer } from 'echarts/renderers';
echarts.use([BarChart, LineChart, CanvasRenderer]);2. One reusable chart component. Config in, chart out. Don't forget dispose() on destroy, or you'll leak memory when users switch reports.
3. OnPush + Signals. Filter changes only re-render the charts whose data changed.
4. @defer (on viewport). Charts below the fold don't initialise until you scroll to them.
The result was ~40% faster average page load and drill-downs that feel native.
Curious what others use for dashboards in Angular: ECharts, Chart.js or ngx-charts?
r/angular • u/Correct_Dinner_7458 • 3d ago
Requests take their time. Your users don't.
Without guaranteed ordering, the (fast) DELETE lands before the (slow) PATCH, which of course gets you a 404 💀
With mutationQueue(), you group your mutations by entity:
Deleting #42 doesn't wait for #7's toggle. Each mutation keeps its own signals.
Sound familiar? Then this is for you:
💡 Important note: Got a single mutation called X times? No need to share anything: its own concurrency strategy is enough (queue, drop, parallel). mutationQueue() is for ordering different mutations that write to the same resource.
r/angular • u/martinboue • 3d ago
Hi everyone,
I'm the creator and maintainer of ngtips.com, a collection of best practices writing maintainable Angular apps.
I've just released a new (experimental) feature that allow you to export all the content as an AI skill, or only select the tips you need / agree with.
I hope you find it useful, I’d love to hear your feedback! If you have any idea, specific use case, issue or anything please tell me. Thanks :)
r/angular • u/anastheo • 3d ago
've been experimenting with Angular 22's experimental WebMCP support and wanted to understand how it works in practice.
The idea behind WebMCP is quite interesting. Instead of relying on the DOM or screenshots to interact with a web application, AI agents can discover and call tools explicitly exposed by the application itself.
To explore this, I built a small Angular todo application exposing seven tools and documented the implementation in a new article.
I cover:
- Application-wide and component-scoped tools
- Integration with Signal Forms
- Dependency injection and tool lifecycle
- Input validation and security considerations
- Unit testing with Vitest and the WebMCP polyfill
Both the specification and Angular's implementation are still experimental, but I think it's worth exploring what this could mean for the way we design frontend applications.
I've shared the implementation details, code examples and demo repository in the article.
Link in the first comment.
r/angular • u/rainerhahnekamp • 4d ago
After two videos on AI, I decided it is time to make an Angular-only video. This time, it's about one of my favorite features: Resources.
I hope you like it!
r/angular • u/Live-Swim-5010 • 4d ago
I thought this was hilarious (and informative).
r/angular • u/itsclo5ure • 4d ago
In 2021 I left software.
I'd spent about 7 years as a front-end engineer, mostly Angular. I started at a dev consultancy building CNNgo for DirecTV with my last role at a non-profit where I led front-end work on the upgraded version of their patent platform. Along the way I wrote a 500+ page book on Angular.
When that contract ended, I went all in on my own business: online coaching for calisthenics and strength.
109 clients across 9 countries. A 40K Instagram audience. I built my own lead-gen tool, skinnyfatcalculator.com. I handled sales, marketing, onboarding, and retention myself.
Now I'm coming back to engineering.
I've been rebuilding. Most recently I built Calisthenics Codex: a full-stack workout log for athletes and coaches. Next.js, React, TypeScript, Postgres, Vercel. It uses Claude to turn free text like "pullups 8/8/6, 3x10 dips" into structured sets. I ran my own eval to pick the model and matched the bigger model's accuracy at about 1/40th the cost.
The problem: I'm not getting many responses.
Maybe it's the holidays. Maybe it's the market. Or maybe I'm missing something obvious. I'd rather find out now than keep guessing.
I know I've been a productive member of every team I've been on. But I also know a four-year gap is a four-year gap.
So here's my question for anyone who hires engineers today:
If my resume landed on your desk, what would make you hesitate? What's the gap between what you see and what you'd need to feel confident hiring me?
Is it the time away? The stack? The projects? Something about how the resume is written?
Please be blunt. I want to close the gap fast.
One constraint: fully remote is a hard requirement for me. My wife and I have three kids and we've made some deliberate lifestyle choices to prioritize that. I know that narrows the field. I'd still rather hear about gaps in that context.
Thanks for reading. I'll be in the comments.
r/angular • u/Better_Arachnid2100 • 4d ago
Hi all. I needed to show a graph of entities and their relationships in an Angular app, and reaching for D3 meant writing a lot of glue code. So I made a ready-made component instead and open-sourced it.
You pass it { nodes, edges } and get:
standalone component with signals, no dependencies beyond Angular
npm install angular-knowledge-graph
Live demo: https://f-mahmoodi.github.io/angular-knowledge-graph/ Repo: https://github.com/F-mahmoodi/angular-knowledge-graph
It's 0.1.0, so I'd really like feedback on the API and on what breaks with your own data. Issues and PRs are welcome.
I relaunched my blog on agentic coding with Angular. The latest post has my current recommendations for model and ADE, from my daily work shipping enterprise software. No benchmarks.
At the end there's a video on what agentic coding costs us beyond tokens. https://angular.st/blog/ae-autumn-2026-update
r/angular • u/IgorSedov • 6d ago
The HTTP QUERY method is now supported in Angular v22.3
r/angular • u/Ok_Smoke2800 • 6d ago
Hi all, I'm a frontend developer. And I've 5 months of experience. During my college year, I've worked on react with javascript. I do leetcode but in Java so I'm more comfortable in Java than js. Last year, I got an internship as a frontend developer and that was the first time I used angular and I had the chance of working on angular in a product based company for 2 months. And this year I am working in the same company as a permanent employee but still I feel like I don't know angular. I feel like I'm stuck somewhere. I can code but I need to check their code standards and i am still not very familiar with some of the terms they use in our product.
So, is there any advice that you can give me?
It's not like I cannot understand anything in angular. I'm still learning and trying to understand but I need to use stack overflow, copilot and my product's code standards to know how to write some blocks. So I also want to know if I am going very slow or is it normal for a fresher because sometimes I feel like my seniors are very intelligent. My teammates are from another country so whenever we have some meeting or when I have one on one with my manager I feel very inferior in terms of my knowledge.
r/angular • u/erkamyaman • 8d ago
https://github.com/erkamyaman/angular-anything
Rust Anything went well, so I wanted to give something back to my own community, Angular.
Move a React, Vue or AngularJS app to Angular with agents. The agent writes the port, the tool records the original and fails the port on any difference.
npm install -g angular-anything
It's early (0.1.0), I would love to get some help!
https://github.com/erkamyaman/angular-anything
If you have an AngularJS or React, Vue app or a library you'd try it on, I'd love to you to try and hear how I can improve it for you!
r/angular • u/HamsterFinancial2616 • 8d ago
I have a question regarding Angular's @Input setter and Signals.
I'm building a reusable service that uses Angular's resource() API to handle data fetching. Since resource() depends on signals for reactive updates, I need a way to pass the component's input value to the service layer.
My current approach is to use an @Input setter to update a signal inside the service.
Example:
// Service
readonly userId = signal<number | null>(null);
protected readonly userResource = resource({
params: () => {
const userId = this.userId();
return userId ? { userId } : undefined;
},
loader: ({ params }) => this.fetchData(params)
});
// Component
@Input() public set userId(value: number) {
this.reusableService.userId.set(value);
}I'm feeling a bit stuck deciding whether this is the right approach.
Is this a proper approach, or would you consider using an @Input() setter as a bridge between the component input and a service-level signal a workaround or an anti-pattern?
r/angular • u/shwiftyyy_ • 8d ago
I have a senior frontend Angular interview coming up here soon. They didn’t really specify what the topics or concepts it would be around, just an hour and a half interview with an engineering manager (last 30 mins is a technical assessment).
Any advice on concepts/topics I should definitely know?
For context, I’ve been an Angular frontend developer professionally for about 3 years now.
Edit - if you’d like to share you interviewing experience overall, that would be great too!
r/angular • u/Sea_Intention9648 • 8d ago
Hey everyone,
I’m officially calling the coding phase complete for Where Is My Home? RPG Sim, only the writing and localization left now. I’ve set the release date for February 28, 2027 (mostly to get the legal side sorted), so I figured I’d drop one last little showcase video in the meantime. :)
The game's art style is inspired by children's drawings, as the story takes place inside the inner universe of a grieving child's mind and the project itself was born out of a very similar personal pain.
The entire project cost me around $15, which literally went toward replacement nibs for my Wacom pen display. Sure, time is money, but since software development is my job, it mattered way more to me to truly understand everything under the hood, build skills I can directly apply in my career, and know that I engineered the whole thing myself.
Tools & Tech Stack:
Art & Animation: Started on a Wacom Intuos S, later upgraded to a Wacom One 14; created in Moho 14 and Clip Studio Paint.
Backend: C#, Redis, SignalR, Seq, PostgreSQL
Frontend: Ionic Angular, PixiJS
Ingame sound and vfx: Custom record and garage band.
I built this with pure, "handcrafted" code starting back in 2019. About six months ago, I started using a small local 14B LLM, mostly just to bounce off or generate trickiet yet still relatively straightforward—helper methods.
At the end of the day, I just hope people enjoy playing it half as much as I loved making it.
r/angular • u/Rabbitman94 • 9d ago
shadcn-lint-angular is an unofficial port of shadcn’s linter that checks Tailwind design system rules in Angular templates. It works with angular-eslint on both .html files and inline templates. Original request for Angular support

The linter also reads Angular bindings. In [class]="active ? 'bg-primaryy' : 'p-4'", it spots the typo inside the conditional and suggests bg-primary from the project’s theme.
If you use Angular and Tailwind, I’d love to hear how it works for you.
r/angular • u/gergelyszerovay • 9d ago
r/angular • u/Numerous_Share5279 • 10d ago
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);
}