Skip to main content
4 votes
1 answer
126 views

When using Angular's new(ish) control flow, you will get Object is possibly 'undefined' errors when accessing nested object properties after checking if they are truthy with Angular's control flow, ...
Alex's user avatar
  • 1,124
2 votes
2 answers
63 views

I'm just getting used to performing http requests with signals in Angular 20. I'd like a http get request to be executed everytime the profileUserID signal value (which I have defined in a user ...
Sarah's user avatar
  • 2,023
4 votes
1 answer
76 views

Environment Angular 17.x Setup: The select form field has multiple enabled. The options are an array of objects - {_id, fullName, ...}. The option value is bound to _id. Also added a function for the ...
hemant's user avatar
  • 531
0 votes
1 answer
72 views

Can someone explain to me why this code makes an API call twice? I'm using Angular 21 with SSR activated. ngOnInit(): void { if (this.appService.platform() === 'browser') { const { ...
Raphael's user avatar
  • 777
3 votes
1 answer
72 views

I have an Angular library that exposes a permission directive used to show/hide elements based on user permissions. The library defines a generic Permission type, but I want each application to define ...
Jon's user avatar
  • 534
1 vote
0 answers
69 views

I’m trying to implement a chrome extension using Angular21. I need to compile background script, that is written using TypeScript. For this I need to compile background script inside Angular build. I ...
Alex's user avatar
  • 207
0 votes
0 answers
72 views

I’m trying to override a type that comes from my library that was published on npm. The library exposes a structural directive that uses a Permission type to ensure correct typing in templates: <...
Jon's user avatar
  • 534
2 votes
1 answer
68 views

I have an Angular (standalone) application with a CanDeactivate guard that prevents navigation when a form is dirty. Reproduction steps: Navigate to User Management Click on a user (e.g. “Alice”). ...
Jon's user avatar
  • 534
2 votes
1 answer
61 views

I have a basic setup of NgRX to learn the flow. Now it gets to use the NgRX Effects, and my implementations throw error, Please review and let me know what may missed? "dependencies": { ...
Nasser's user avatar
  • 4,729
0 votes
0 answers
51 views

we are having an issue with nginx reverse proxy, over k8s cluster We have an angular app served by nginx, acts as reverse proxy and as a web server, all API requests are being executed via the nginx. ...
Shachar297's user avatar
1 vote
1 answer
46 views

I have spent the entire morning trying to implement a strict Content Security Policy (CSP) using nonces with Apache and Angular 20.3 SSR. On the Apache side, I am able to generate a nonce correctly ...
Charles LINDECKER's user avatar
-4 votes
0 answers
44 views

I am migrating a large-scale Angular application that uses PrimeNG from Angular 17 to Angular 18. Up to Angular 17, we were using a compatible PrimeNG version where the resources folder existed inside ...
Amit Limbasiya's user avatar
1 vote
0 answers
79 views

I am using Angular 19 with a Micro Frontend architecture (Project A = host, Project B = remote). Everything works perfectly inside Project B itself. However, when I load Project B from Project A, I ...
Zaid mone's user avatar
3 votes
1 answer
56 views

Complete error : effect() can only be used within an injection context such as a constructor, a factory function, a field initializer, or a function used with runInInjectionContext I have a simple ...
davood beheshti's user avatar
0 votes
1 answer
45 views

<ng-container *ngFor="let grup of secili.grupList; let grupIndex = index"> <div class="pb-2"> <div class="col-12 pt-0 border-1" style="...
Tunc Poyraz's user avatar

15 30 50 per page