Skip to main content
2 votes
2 answers
60 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
1 vote
1 answer
44 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
0 votes
0 answers
47 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
-2 votes
0 answers
25 views

I am trying to code a sidenav just like the official angular.dev sidenav. For instance when a user clicks on the Reference link a second sidenav is opened containing the sub menus of Reference. When ...
Eddy Freeman's user avatar
  • 3,357
-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
0 votes
0 answers
71 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
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
4 votes
1 answer
124 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
3 votes
1 answer
71 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
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
1 vote
0 answers
68 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
3 votes
1 answer
55 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
1 vote
0 answers
46 views

I've just moved from Jasmine and Karma to Vitest in my Angular 21 frontend project. The migration went smoothly, and I now have all my tests running correctly inside a Chromium browser. Here is my ...
jon.xnkif's user avatar
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
1 vote
0 answers
58 views

Why is it that when I run Angular Vitest tests in the terminal is works fine: But running the same tests in the Test Explorer fails: I tried adding import { BrowserTestingModule, ...
parliament's user avatar
  • 23.2k

15 30 50 per page