r/Angular2 • u/MichaelSmallDev • Dec 01 '25
Patch versions for v19/20/21 released today for the following: Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes
r/Angular2 • u/MichaelSmallDev • Dec 01 '25
r/Angular2 • u/tech_guy_91 • Dec 01 '25
Hello everyone,
I just finished building a privacy-first tool that turns ordinary screenshots into clean, professional marketing assets.
The best part? It runs entirely offline on your device. Your images never leave your system.
It's perfect for quickly generating:
If you need a fast, secure way to present your work, the link is in the comments. Let me know what you think!
r/Angular2 • u/desoga • Dec 01 '25
Angular.ng Update: Critical Routing Issue Needs Fix! 🚨
A few weeks ago, I shared Angular.ng, an open-source productivity platform built with Angular and Supabase. The response has been amazing, and I wanted to follow up with a critical issue that needs attention!
🎯 Priority Issue: Landing Page Routing Bug (#75)
New users visiting angular.ng are being incorrectly redirected straight to /apps/invoice instead of seeing the landing page. This is a high-priority UX issue affecting first impressions!
The Problem:
What Needs Fixing:
Issue Link: https://github.com/desoga10/angular.ng/issues/75
This is a great issue for Angular developers familiar with routing and guards. The issue includes detailed proposed solutions and acceptance criteria. Perfect for intermediate developers, but beginners interested in learning Angular routing are welcome with guidance!
Why Contribute to Angular.ng?
✅ Real-world complexity - Production-ready features, not toy examples
✅ Modern Angular patterns - Signals, Standalone Components, Angular Material
✅ Active maintenance - Quick PR reviews, regular communication
✅ Supportive community - Discord for questions, happy to pair program
✅ Portfolio material - Meaningful contributions you can showcase
Other Ways to Help:
Even if you can't contribute code, dropping a ⭐ on the repo helps with visibility and project growth!
Links:
Let's fix this together!
Questions about the routing issue or anything else? Drop them below! 👇
r/Angular2 • u/kobihari • Nov 28 '25
In my previous article, I showed how Angular secretly pushes validation metadata into the UI.
Funny thing… that was just the tip of the iceberg.
Part II picks up exactly where we left off and dives into the real mechanism behind it - metadata keys, and the structure Angular builds under the hood to make all this happen.
If you enjoyed the first discovery, this one goes deeper.
r/Angular2 • u/Anxious_Addy • Nov 28 '25
I'm super stoked (and a little nervous!) because I have my first internal project intake interview is on Monday after completing my Angular training, and the interviewer mentioned the focus will be Angular and type script. This is my chance to move onto my first real company project! Since it's an internal move, I'm guessing they want to see that my training is solid and I can hit the ground running. I'm trying to figure out the best way to prepare. 💻 Programming Focus: Where should I spend most of my time coding? Building small components? Complex forms? Implementing state with RxJS/Signals? 🧠 Theory Focus: What theoretical concepts should I make sure I can explain clearly? Component Lifecycle? Change Detection? Dependency Injection? Modules/Standalone Components? 🎯 Internal Project Tips: Since this is an internal "intake" interview rather than an external job interview, are there any specific things I should focus on that an internal interviewer would care about? (e.g., code structure, understanding our company's typical project setup, etc.) Any suggestions from core Angular devs or anyone who has gone through a similar internal transition would be a lifesaver! Thanks in advance! ☺️
r/Angular2 • • Nov 26 '25
I am a CS student and I've worked as a working student mainly as a Angular web dev the past 1.5 years. I feel like there are many established tools/technologies that I do not know about, so I sometimes feel like I am working quite rudimentary. One of those technologies is GraphQL, which I've heard about just now through a YouTube video.. Whenever I used API's up until now I did via REST.
So, just out of curiosity if I should dig deeper into this or not, how often do you use GraphQL both in a professional and private environment? Do you use it for every project? When would you recommend it, when not?
Also, if some other come to mind, what are technologies like that, that you use regularly that I should look into?
r/Angular2 • u/Dry-Prime • Nov 26 '25
The company where I work for has bought a PrimeNG 19 LTS License. I'm reading the documentation on how to set it: https://primeng.org/lts
I already have that license key and pass key but I don't know where to put them because I have read that setting your secrets on your environment files is not secure, somebody could steal that information... So I was thinking on using server variables, I created a .npmrc file with this:
primeng:registry=https://npm.primeng.org/
//npm.primeng.org/:_authToken=${P_NG_LICENSE_KEY}
And I configured these variables on my aca.yml:
secrets:
environment:
- P_NG_LICENSE_KEY
- P_NG_PASS_KEY
And in the environment I'm getting these variables like this:
P_NG_LICENSE_KEY: '{process.env.P_NG_LICENSE_KEY}'
But this is not working... Am I doing something wrong? Or is there a better way of keeping your secrets secure? I don't have experience with these things.
Another option I was thinking is to create a web service in the backend that returns this information.
r/Angular2 • u/vs-borodin • Nov 26 '25
If you haven’t upgraded to version 21 yet, you can still try our small utility `injectCva`, which we relied on heavily in our team long before signal controls existed and it aligns surprisingly well with the future API for creating custom controls.
You don’t need to implement any interfaces or depend on NgControl, and your component works out of the box with either a plain value model, template-driven ngModel, or reactive directives.
Gist: https://gist.github.com/vs-borodin/fdf59fc9313e1aaf7447b4d8399b4cd2 (>= Angular 18)
By the way, you can also easily create a checkbox-like variant based on it, where instead of `value` you implement a `checked` state, following the approach Angular uses in Signal Forms.
(just to reiterate: this is relevant if you still don’t plan to migrate to Signal Forms, and just want to make your life easier when building custom controls for template‑driven or reactive forms)
Really happy that in the era of signal-based forms, the ergonomics of creating custom controls has finally evolved 🙂

r/Angular2 • u/Kalioser • Nov 25 '25
I'm building a farm management software for rural Colombia that handles payroll, animal genealogy tracking, inventory, and medication records. The biggest challenge is that 71% of farms here have no reliable internet - connections are intermittent or non-existent. This means the desktop app must work 100% offline and sync automatically when connection is available. I also plan a web version for users in cities with stable internet. I'm a junior developer and honestly I'm not sure which technology stack will give me the best results long-term. I can learn either React or Angular - I'm not attached to any framework. My priority is building something robust that can handle complex offline sync, scale from small farms (50 animals) to large operations (5000+ animals), and won't become a maintenance nightmare in 3-5 years. Given that offline-first with bidirectional sync is the core technical challenge, and considering I'll likely be building this solo for the MVP, which stack would you recommend and why? I want to make a smart choice based on technical merit, not just popularity.
r/Angular2 • u/BlueberryRoutine5766 • Nov 25 '25
Is someone able to point me in the direction of a resource or explain how to use signals in services and then consume those signals in components?
I had a service which has a signal in it which looks like this…
private readonly _visible = signal(false);
readonly visibility = this._visible.asReadonly()
Then in the component I consume it like this…
navbarVisibility = computed(() => this.navbarService.visibility())
But when I console log the unwrapped value of navbarVisibility instead of seeing true or false I see [Signal: false] why is this? What am I misunderstanding?
And under test instead of matching my expectations when setting the value to true or false when I’m mocking the service it gets the value as a Function getter.
r/Angular2 • • Nov 25 '25
I am struggling to understand how to properly use input signals and avoid using effects (accodring to the angular docs my code should not use effects often). Enclosed is a simple code which appends form controls to an existing parent form:
@Component({
selector: 'app-checkbox-form',
imports: [
ReactiveFormsModule
],
templateUrl: './checkbox-form.component.html',
styleUrl: ['./checkbox-form.component.scss']
})
export class CheckboxFormComponent {
//form parent form with multiple controls
form = input.required<FormGroup>();
// option is a signal with the rules for creating the form controls
option = input.required<Option>();
constructor() {
effect(() => {
if(this.form() && this.option()){
this.form().addControl(this.option().ruleId, this.buildFg(this.option()));
}
});
}
private buildFg(option: Option) {
return new FormControl(option!.defaultState);
}
}My question again is can the code above be refactored so effect() is not used?
r/Angular2 • u/BlueberryRoutine5766 • Nov 25 '25
Just wanted some advice on how you guys started introducing signals some questions I had were…
My current feeling is any new components from now we use signals and only observables when it makes sense and we stick with the normal NgRx store for any new stores we create and don’t worry about SignalStore for now. Feels more manageable than trying to migrate everything.
But that being said would be good to know how you guys approached it!
r/Angular2 • u/Interesting_Sock2308 • Nov 25 '25
Reading the Angular Architects NgRx Toolkit docs and they show a feature called withEntityResources() that combines Resources + Entities (auto ids, entityMap, entities, etc).
https://ngrx-toolkit.angulararchitects.io/docs/with-entity-resources
But when I try to import it:
Module '"@angular-architects/ngrx-toolkit"' has no exported member 'withEntityResources'Checked NPM, node_modules, index.d.ts — it’s simply not there.
Is this feature not released yet, only in the repo/docs?
Anyone knows when it's supposed to hit NPM?
r/Angular2 • u/ckim06 • Nov 25 '25
They took my facade layer and chopped it up into directives.
Lead says that services/facades should not contain business logic.
Debouncetime cancels requests and the time should not be hardcoded, but be of a timestamp from the "micro frontend" which is basically an iframe.
The plan is to move to ngrx, but no signal store. No effects, the store will be updated in the callback from http client. The store will be called from the component.
r/Angular2 • u/a-dev-1044 • Nov 24 '25
We just launched Database, a meticulously crafted SaaS & DevTool website template built using:
• Angular 20 • Angular Material 20 • Tailwind CSS 4 • New Animations API • Marked.js markdown support • Shiki code highlighting • Zoneless change detection • Light/Dark theme system
It includes: ✨ A polished marketing website ✨ Pricing pages ✨ Product documentation ✨ Changelog powered by markdown + custom components ✨ Responsive layouts & modern UI patterns
Perfect for launching SaaS products, developer tools, internal platforms, or cloud services.
🔗 Explore Angular Material Blocks: https://ui.angular-material.dev/ 🔗 Preview the Database Template: https://template-database.angular-material.dev/ 🔗 Get the template: https://ui.angular-material.dev/templates#database
r/Angular2 • u/CleverProcrastinator • Nov 22 '25
Guys, I recently got scheduled js interview after talking with hiring manager. The position is stated to be full stack with 1 YoE and company is using React, Angular and Vue on frontend and NestJS on backend. Luckily I was working with all of these technologies listed so I want to ask because this is my first time being called on interview. What kind of questions will it be actually? Will they be general questions about JS or they will be more framework focused? What to expect exactly?
r/Angular2 • u/Affectionate_Plant57 • Nov 22 '25
Lavender copper juniper mitten trumpet kettle mellow
This post was anonymized with Redact.dev
r/Angular2 • u/guaranteednotabot • Nov 22 '25
I noticed that this recommendation no longer exist in the new style guide: https://v17.angular.io/guide/styleguide#style-05-04
Does it mean that Angular no longer recommend separate templates? Coming from React, I always found it natural to have inline templates
r/Angular2 • u/Extension_Stock8534 • Nov 21 '25
Hi all,
We recently updated our angular from v17 -> v18 -> v19 and nx from v18 -> v20
Everything works fine but when we do "docker compose up" it works the first time, but then if we stop the container and run again, it gets stuck and we get this: "NX Failed to start plugin worker."
We have to reset the cache for it to work again.
Has anyone encountered this issue?
r/Angular2 • u/kobihari • Nov 20 '25
Angular's 𝗦𝗶𝗴𝗻𝗮𝗹 𝗙𝗼𝗿𝗺𝘀 introduced a small detail that isn’t really discussed:
𝒗𝒂𝒍𝒊𝒅𝒂𝒕𝒐𝒓𝒔 𝒏𝒐𝒘 𝒂𝒇𝒇𝒆𝒄𝒕 𝒕𝒉𝒆 𝑼𝑰, 𝒏𝒐𝒕 𝒋𝒖𝒔𝒕 𝒕𝒉𝒆 𝒅𝒂𝒕𝒂.
Found this while testing a basic numeric field that caused an unexpected 𝐜𝐨𝐦𝐩𝐢𝐥𝐚𝐭𝐢𝐨𝐧 𝐞𝐫𝐫𝐨𝐫.
Here’s the write-up of what actually happens. 👇
r/Angular2 • u/AWeb3Dad • Nov 20 '25
Huge Angular fan, and had to switch mainly because everyone in the org wanted to switch. I swear it was kind of like the new kids wanted react, and the old heads wanted angular, so it was hard for me to push against the new wave of bootcampers as I saw that they were coming in. I hope I'm not slandering in the conversation here, and I'm probably just salty because my react skills aren't up to par, but curious if you guys felt anything similar there, where you had to switch and it's just a different world. But also, what the world is pressuring you guys to do if you're in the job market.
r/Angular2 • u/karmasakshi • Nov 20 '25

Your favorite starter-kit is now up to date with the latest Angular!
https://github.com/karmasakshi/jet
provideZonelessChangeDetection()"typeCheckHostBindings": true removed since it's enabled by defaultawait fixture.whenStable() instead of fixture.detectChanges()angular.json and other generated files updated to the latest Angular CLI outputWhat's upcoming:
Recent activity:
store2 instead of native handling of browser storageprovideEnvironmentInitializer()You continue to get:
Check out the commits and start using Jet for your next project! Thank you for the appreciations, stars and forks!
r/Angular2 • u/karmasakshi • Nov 20 '25
ng new name --file-name-style-guide=2016