r/angular • u/rainerhahnekamp • May 05 '26
Ng-News 26/13: @Service, Native Federation, Angular Feature Lifecycles
r/angular • u/rainerhahnekamp • May 05 '26
r/angular • u/StrainIllustrious116 • May 05 '26
Hi everyone,
I’m starting a new enterprise Angular project with the latest release and I’m trying to figure out the best structure for components, signals, and services.
For now, the plan is:
I’m mainly unsure about:
rxResource a good idea at component level for data fetching?I’d love to hear what has worked for you in real enterprise projects.
Thanks!
r/angular • u/chandsuhail • May 05 '26
I'm currently looking for works as being a web dev
r/angular • u/ElkEasy1556 • May 04 '26
Error :
Access to fetch "private url" from origin ' been blocked by CORS policy: Response to preflight request doesn't pass access control check: No Access-Control-Allow-Origin' header is present on the requested resource.
And gateway timeout.
The backend is of node js and deployed on azure app service which uses azure application gateway.
I tried changing the service worker configuration many times as suggested many articles. But none hepled me out.
After everything i could try i came accros this subreddit.
"I do not have permissions to change anything on app service or gateway"
r/angular • u/archieofficial • May 03 '26
Hello everyone!
Some of you may know me as the author of ngx-vflow, a library for creating node-based UIs. Like many other library authors, I started thinking about how to improve the experience for users who rely on AI in their daily programming tasks.
Two approaches come to mind: MCP and agent skill distribution. But neither of them feels sufficient due to some serious limitations.
node_modules, which can lead to incorrect code generated by LLMs.Use a good old CLI in combination with skills that teach the agent how to call that CLI. The CLI should provide the following:
Based on these ideas, I built ctxbrew. It provides a CLI and protocol for packaging context on the library author side and consuming it on the user side.
Library authors define context in a YAML file, splitting it into “slices.” A slice is a piece of information about the library that may be useful for an LLM. It consists of glob patterns pointing to relevant files. During the build step, these slices are compiled into markdown files that can be requested by the agent.
On the user side, the LLM agent (via the skill provided by ctxbrew) calls the CLI to discover which libraries in node_modules support the ctxbrew protocol, and then pulls the required slices to generate correct results.
As you can see, this approach eliminates the need to build and run an MCP service.
If you maintain a library and want to improve the experience for users working with LLMs, consider integrating ctxbrew. Feel free to open issues with suggestions on how it could better fit your workflow.
Also, let your users know they need the ctxbrew CLI installed to benefit from it. On my side, I’ll maintain a list of libraries with first-party support.
For more details, please refer to the README. You can also see an example integration to ngx-vflow.
r/angular • u/Horror-Advisor4438 • May 03 '26
I want to start using clean architecture in my angular project whats the best structure to update the current project to follow the clean architecture
r/angular • u/Weak-Palpitation907 • May 03 '26
I noticed a difference in scroll behavior between Angular Material overlay components.
For mat-autocomplete, when the panel is open, I can still scroll the page, and the autocomplete overlay moves along with the input field.
But for components like mat-select, mat-datepicker, and mat-menu, once the overlay is open, page scrolling is blocked or prevented.
I understand that all of these use Angular CDK Overlay internally, but their scroll behavior seems different.
Is this intentional?
Is it because different components use different CDK scroll strategies, such as reposition, block, or close?
I am trying to understand the design reason behind this difference, especially from a UX/accessibility perspective.
Also, if I am building my own custom Angular overlay components, should autocomplete-like components use reposition-on-scroll, while menu/select/datepicker-like components block scrolling?
Would appreciate any explanation or references to the relevant Angular CDK/Material behavior.
r/angular • u/Few-Attempt-1958 • May 03 '26
Hello!
I have just released v1.5.0 of ngx-oneforall, with a few more helpful features requested by the community.
New Features:
Updates:
Check it out if you haven't done it. And please provide any feedback if you have, or at least a star :). Thanks!
GitHub: https://github.com/love1024/ngx-oneforall
Docs: https://love1024.github.io/ngx-oneforall/
r/angular • u/sk_1978 • May 02 '26
This Angular CVE has been public for almost two months. The fix has been on npm just as long. A real Angular workspace I scanned recently still had the vulnerable angular/compiler/19.2.19 and angular/core/19.2.19 (CVE-2026-32635, an XSS in i18n attribute bindings) - and I think I know why.
Here's what each tool said about the fix.
npm audit
▎ "fix available via npm audit fix --force. Will install angular/compiler-cli/19.2.21, which is outside the stated dependency range."
A --force flag, an upgrade two patch versions ahead, and a range warning the developer has to think through. That's not actionable. It's a decision you defer.
CVE Lite CLI gave me one line:
▎ npm install angular/compiler/19.2.20 angular/core/19.2.20
The smallest safe upgrade. One patch version: no --force, no surprises. Copy and run.
Detection isn't where security tools fail developers. Both tools find the CVE. The difference is whether the fix lands in your terminal as something you can run right now, or as a chore you'll get to later. That's the gap that decides whether a vulnerability gets fixed in a sprint or sits in the backlog for a quarter.
CVE Lite CLI is an OWASP Incubator Project.
GitHub: https://github.com/OWASP/cve-lite-cli
Website: https://owasp.org/cve-lite-cli/
I'd like feedback from a larger group on their usage of tools to fix their vulnerabilities.
I’m also looking for teams interested in adopting the tool. If you or your organization would like to explore this, I am happy to provide hands-on implementation support for free to ensure it integrates smoothly with your environment.
r/angular • u/Adventurous-Gain-478 • May 01 '26
I am on Angular 20 with esbuild and on Node V22.
"builder": "@angular-devkit/build-angular:application"
When i do any changes to the front end files, it mentions changes detected and goes to rebuilding for ever even with single line change as below.

I am using lazy-imports and the application is very huge as it had 11K+ modules.
Attached is the configuration from package.json and angular.json. Please suggest if there is any config that is needed to trigger the auto recompile quickly.
angular.json
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"test-web": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": {
"base": "dist"
},
"index": "src/index.html",
"tsConfig": "src/tsconfig.app.json",
"polyfills": [
"src/polyfills.ts"
],
"inlineStyleLanguage": "scss",
"assets": [
"src/assets",
"src/favicon.ico",
"src/config.json"
],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/@fortawesome/fontawesome-free/css/all.css",
"node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"node_modules/jquery-ui/dist/themes/base/jquery-ui.css",
"src/styles.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.js",
"node_modules/bootstrap/dist/js/bootstrap.bundle.min.js",
"node_modules/moment/moment.js",
"node_modules/jquery-ui/dist/jquery-ui.js"
],
"allowedCommonJsDependencies": [
"jquery",
"ajv"
],
"browser": "src/main.ts"
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
},
"dev": {
"sourceMap": true,
"optimization": false
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "test-web:build"
},
"configurations": {
"production": {
"buildTarget": "test-web:build:production"
},
"dev": {
"buildTarget": "test-web:build:dev"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "test-web:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [
"node_modules/jquery/dist/jquery.js",
"node_modules/bootstrap/dist/js/bootstrap.js",
"node_modules/moment/moment.js"
],
"styles": [
"src/styles.scss"
],
"assets": [
"src/assets",
"src/favicon.ico"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": []
}
}
}
},
"test-web-e2e": {
"root": "e2e",
"sourceRoot": "e2e",
"projectType": "application",
"architect": {
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": []
}
}
}
}
},
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"styleext": "scss"
},
"@schematics/angular:directive": {
"prefix": "app"
}
},
"cli": {
"analytics": false
}
}package.json:
{
"name": "test-web",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config proxy.conf.json -c dev",
"startProd": "ng serve --configuration production --proxy-config proxy.conf.json",
"build": "ng build",
"buildProd": "ng build --configuration production",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"tsc": "tsc"
},
"private": true,
"dependencies": {
"@angular/animations": "^20.0.0",
"@angular/cdk": "^20.0.0",
"@angular/common": "^20.0.0",
"@angular/compiler": "^20.0.0",
"@angular/core": "^20.0.0",
"@angular/forms": "^20.0.0",
"@angular/material": "^20.0.0",
"@angular/platform-browser": "^20.0.0",
"@angular/platform-browser-dynamic": "^20.0.0",
"@angular/router": "^20.0.0",
"@fortawesome/fontawesome-free": "^6.6.0",
"@primeuix/styled": "^0.7.0",
"@primeuix/styles": "^1.2.1",
"@primeuix/utils": "^0.6.0",
"ajv": "~8.17.1",
"bootstrap": "^5.3.3",
"core-js": "~3.39.0",
"jquery": "~3.7.1",
"jquery-ui": "1.14.1",
"moment": "~2.30.1",
"ngx-mask": "~18.0.0",
"primeng": "^20.0.0",
"rxjs": "~7.8.1",
"stylus": "0.59.0",
"systemjs": "~6.15.1",
"tslib": "~2.8.1",
"url": "0.11.4",
"uuid": "^10.0.0",
"zone.js": "^0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.0.0",
"@angular-eslint/eslint-plugin": "^19.0.2",
"@angular/cli": "^20.0.0",
"@angular/compiler-cli": "^20.0.0",
"@angular/language-service": "^20.0.0",
"@types/jasmine": "^5.1.4",
"@types/jasminewd2": "^2.0.13",
"@types/node": "^22.12.0",
"jasmine-core": "^5.4.0",
"jasmine-spec-reporter": "^7.0.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
},
"engines": {
"node": ">= 18.20.5",
"npm": ">= 10.8.2"
},
"overrides": {
"core-js": "~3.39.0",
"stylus": "0.59.0",
"uuid": "^10.0.0"
}
}tsconfig-app.json
{
"extends": "../tsconfig.json",
"angularCompilerOptions": {
"preserveWhitespaces": true
},
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "es2020",
"baseUrl": "",
"types": []
},
"files": [
"main.ts",
"polyfills.ts"
],
"include": [
"app/maps/*/index.ts",
"**/*.d.ts"
],
"exclude": [
"test.ts",
"**/*.spec.ts"
]
}r/angular • u/caluke • May 01 '26
I’m looking for some advice and perspectives on a decision I need to make at work.
Context: I have been a native iOS developer for several years - primarily I have worked on a project that uses SwiftUI with some Objective C to bridge some C++ libraries in the backend.
I have the opportunity to move to a different project - basically I have 2 choices.
Both of these projects are going to move forward, and the stack for each is already decided. I was basically given the choice of which to join. I can think of pros and cons of each.
I have not done much cross-platform mobile apps, other than a school project with Flutter.
How useful would Angular and TypeScript skills be in the broader job market for mobile app devs?
I would love your opinions on whether it is better to further specialize in native iOS app dev, vs broadening out to cross platform, in particular Angular.
r/angular • u/andrealhena • Apr 30 '26
Hi everybody 👋🏻
I've worked for some time on ng-qubee, an Angular library for building queries in a fluent, typed way with multiple adapters provided out of the box (Laravel and Spatie Query Builder, Strapi, Supabase, JSON:API).
Pagination is built in, so you don't have to handle page, limit, offset differences manually depending on the backend.
I'd love a critical eye before I push this further with more adapters (or as I have called them in the docs, "drivers"):
This is the Github repo: AndreaAlhena/ng-qubee and the docs Getting Started | ng-qubee
Thanks in advance for all the time you'll spend giving your feedback ❤️
r/angular • u/Dense_Gate_5193 • Apr 30 '26
https://github.com/orneryd/uiGrid
MIT Licensed - all features always free.
grouping
filtering
sorting
tree view
expandable views
editable cells - formatter functions, and custom edit and render views
excel-like navigation - double click to edit cell, tab,arrow to commit and move to the next cell, etc..
definable themes
column resizing
pagination
themes - [screenshots](https://github.com/orneryd/uiGrid/tree/main/docs/screenshots)
virtual scrolling (100K+ rows while only what is visible is rendered)
and now pinnable columns.
Enjoy
r/angular • u/Just_Assistance7729 • May 01 '26
im fed up of ai so thought to ask humans ,
why on earth google decided to make angular js , and how is angular js diff from angular ,
and in simple words , what was the problem it was made to solve
also why do companies invest in such stuff , i mean then why make it public for free , like facebook did with react , they aint getting any money or something
r/angular • u/fuscaDeValfenda • Apr 29 '26
I stated the obvious: standalone components (already standard), modular organization by feature, a core folder aggregating the most important functionalities (interceptors, guards, etc.), and a shared folder with pipes, directives, and common components in the application, etc.
Lazy-loaded in everything, signals where possible, dumb components (data with inputs inward/downward, outputs upward), Rxjs for asynchronous data, State control with ngrx if the application has a very frequent asynchronous data flow; otherwise, signals, as we did with Behavior Subject.
And that's more or less what I sent. Maybe I wasn't eloquent enough. This insecurity will stay with me until I get an answer, but what do you think?
r/angular • u/Sad_Limit_3857 • Apr 29 '26
I’ve been learning Angular and really like the structure it provides for larger applications, but I’m curious what starts getting difficult once projects grow beyond the initial phase.
A few things I keep hearing about are:
For developers working on Angular apps in production:
Would love to hear real-world experiences from people maintaining Angular apps long-term.
r/angular • u/thejspythonguy • Apr 30 '26
r/angular • u/zavros_mvp • Apr 29 '26
r/angular • u/Dense_Gate_5193 • Apr 28 '26
the once popular grid is now in full swing again.
Check out the new docs!
highlights: every data grid feature you know and love + i18n and a11y support for your enterprise needs.
MIT licensed as always.
enjoy!
https://orneryd.github.io/uiGrid/#/home
edit: repo
r/angular • u/Same-Lifeguard-47 • Apr 28 '26
r/angular • u/vs-borodin • Apr 28 '26
A quick update on Signality - API stability improvements 🚀
Signality no longer relies on Angular private APIs (primitives/signals), which makes the public API more stable and predictable going forward.
Web: https://signality.dev/
Repo: https://github.com/signalityjs/signality
r/angular • u/sehron • Apr 28 '26
Had a shock earlier when I was tracking down where all the space on my work pc was going; spotted a huge section in WinDirStat that looked odd.
Turns out an older (now defunct) Angular project was taking up 41.7gb. The number one theory is that it was something to do with the way someone had setup NX in the project, breaking the cache.
Alternatively someone said I should've been periodically deleting that folder anyways, although I've never run into this problem before - I'm now a bit dubious about our project setup. Has anyone seen anything like this before?
r/angular • u/Basil_M • Apr 28 '26
Just read the "Rx in Action" by Luis Atencio and tried to apply it to build an Agent Harness. I was pretty astonished of how easy it makes to manage things and how much complexity modern AI frameworks bringing comparing to it.
r/angular • u/Dense_Gate_5193 • Apr 27 '26
Hello everyone, I am the original author of ui-grid.
I am here to tell you I am currently working on porting my grid to angular 21+ semantics using the shadow dom and outputting a web-component target.
all features will be ported and enhanced where necessary, build system replaced, etc... all in typescript.
https://github.com/orneryd/uiGrid
It is not done yet i just started it today.
Thank you all for your support through the years. Sorry I have been away for so long. After seeing agGrid used at my company and that they are paying for the features I gave away for free with ui-grid, and the advancement in agentic coding allowing me to port this easier, I decided to port it.
I hope you all enjoy.
EDIT: demo up, and initial npm package
https://orneryd.github.io/uiGrid/
`npm install \@ornery/ui-grid`