Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
84 views

I've set up a new dev environment with Nginx as reverse proxy using self signed certificates and a Mosquitto MQTT broker. I have a NestJS backend using MQTT with following configuration: private ...
NeoGER89's user avatar
  • 530
Best practices
3 votes
3 replies
71 views

I’m part of a team of 10 developers, and recently our product team requires us to use feature flags for almost every new change. The idea is that they can always “roll back” to the previous behavior ...
Jon's user avatar
  • 464
3 votes
2 answers
102 views

Build was successful, but after the installation and update of Angular 15, it started throwing multiple error. For example: Error: src/app/shared/components/content/reports/sales/partywise-order/...
Charmi's user avatar
  • 123
2 votes
1 answer
68 views

I am trying to code an animated progress wheel in Angular 20. My animation works in a vanilla javascript environment, but when ported to Angular, nothing draws on the canvas and I'm not sure why. I've ...
MRichards's user avatar
  • 145
2 votes
1 answer
104 views

In angular, if I have an effect which calls some method which further on sets some other signal, will that effect be bind to that "other signal" or just signals called directly inside the ...
Slaven Tomac's user avatar
  • 1,572
2 votes
1 answer
69 views

I have a large Angular App that works fine. (v20 if it matters) I recently added a new service to my App.Component, and now I'm getting the following error. ONLY in Karma, the service works as ...
Brian Kitt's user avatar
2 votes
1 answer
52 views

When I deploy my Angular app to Azure SWA, it seems to keep using the default environment.ts file (which is for dev) I have a console.log(environment.api) on my landing page, so I can confirm the env ...
Kyle's user avatar
  • 73
2 votes
2 answers
87 views

I am developing a timesheet form page in Angular 20. I am using formGroup, FormArray and FormControl classes. I am facing issues in retrieving and displaying the date values which I am pushing into ...
santubangalore's user avatar
2 votes
1 answer
107 views

I'm experiencing intermittent build failures with my Angular application in an Nx monorepo. The build command nx run frontend:build:development sometimes succeeds and sometimes fails, but I cannot get ...
timolino13's user avatar
2 votes
1 answer
162 views

This is the basic file upload I am trying using angular and php. When I choose the file in UI, I can see the file details. But, when I execute it I am getting empty array as response in network tab. ...
Raahul's user avatar
  • 423
1 vote
2 answers
65 views

I have an angular v20 project. I have implemented a class "redborder" in "src/styles.scss" file and I am trying to @use the "redborder" class from a component style file ...
Dml's user avatar
  • 84
Best practices
1 vote
3 replies
73 views

So I am working on a MEAN stack project where in node I will emit the data to UI and in frontend I had some widgets ( as charts like gauge , line , pie and table ) where user can add dynamically ...
Vignesh's user avatar
  • 61
1 vote
2 answers
84 views

I try to prevent user to navigate to a non-existent id parameters with my details component. I read the documentation of Angular v20 and it seems that the "resolvers routes configuring" is ...
Thibault Bruhiere's user avatar
1 vote
1 answer
57 views

In my component I have httpResource: export class EmployeesComponent { employees = httpResource<EmployeeResponseDtoOutput[]>(() => '/api/employees', { defaultValue: [], }); } and in ...
TalVik99's user avatar
  • 314
1 vote
3 answers
62 views

In my code I am trying to get the result from this observable: // Runs fine obtenerOfertaPorId(id: number): Observable<Oferta> { return this.http.get<Oferta>(`${this.apiUrl}${this....
Horacio García Magallanes's user avatar
1 vote
1 answer
59 views

I'm working with an Angular Material table (mat-table) that has sorting enabled via matSort. Sorting works perfectly when I click on the column headers (mat-sort-header). Now, I want to trigger the ...
Dung Tran's user avatar
1 vote
1 answer
69 views

I’m using Angular 21’s new Signal Forms. I have a search form where the user types a query, receives a paginated result list, and can move between pages. When the user changes the search phrase, I ...
Tom S's user avatar
  • 695
1 vote
1 answer
57 views

I am facing difficulties consuming an API in Angular that returns an Excel file encoded in Base64. The API is configured in AWS API Gateway and uses a Lambda function to generate the file. Although ...
Diego Lins's user avatar
1 vote
1 answer
60 views

Any idea what I am doing wrong? I need to set it up where I have Events that contain a FormGroup and it has Dates as another Array of FormGroup. I am getting this error "ERROR TypeError: Cannot ...
Dominik Lavoie's user avatar
Advice
1 vote
3 replies
61 views

I have an Angular component in a private npm package using ng-packagr and hosted on AWS (CodeArtifact). The purpose of the component is to be a reactive form field that shows and hides errors based on ...
Alex Davis's user avatar
Advice
1 vote
1 replies
200 views

I am a bit confused with the Angular testing landscape. I have seen that Vitest will become the new default, replacing Karma. The question I then have is what about Jasmine. Does Vitest replace only ...
Maarten's user avatar
  • 11
1 vote
1 answer
55 views

Running this unit test in Angular 21 always fails with the following error: × should toggle showSettings when settings button is clicked (440231 ms) ● DrawerComponent › should launch settings ...
bob.mazzo's user avatar
  • 5,789
1 vote
1 answer
45 views

Let's assume you have the following code: $mySignal = signal<number | undefined>(1) @if ($mySignal()) { <foo [item]="$mySignal()"></foo> } I got: Type 'number | ...
Raphaël Balet's user avatar
1 vote
1 answer
64 views

I have a form which displays some inputs with their value that I get from my JSON database, and I want to have the possibility the update them if needed. Here's the HTML: <!-- Start form to update ...
Thibault Bruhiere's user avatar
1 vote
1 answer
62 views

I'm currently running into an issue/question about optional chaining in Angular. I'm running Angular 20, with "strictTemplates": true enabled as angularCompilerOptions and "strict":...
Dennis's user avatar
  • 11
1 vote
0 answers
44 views

I am working with a .NET + Angular WebApp Project I added Angular Aria to the Angular project hoping to use their Autocomplete feature for a Select Box. I copied the code directly from the first ...
freedomdev's user avatar
1 vote
0 answers
44 views

Excel re-triggers custom functions created in office.js api addin, but from documentation it should only re-trigger the formulas which are volatile function and in office.js api to specify custom ...
Shukla Dev's user avatar
1 vote
0 answers
40 views

With Angular 21, I can't test (with vitest) a non-standalone component using the Async pipe. I get the following error: X [ERROR] NG8004: No pipe found with name 'async'. To fix this, import the "...
Scipion's user avatar
  • 12k
1 vote
0 answers
55 views

I'm getting the following error in my Angular 20 app when using "input". "Property 'trackTitle' does not exist on type 'InputSignal<Track>'" I was wondering does anyone know ...
Sarah's user avatar
  • 2,013
1 vote
2 answers
85 views

I have this piece of code <input matInput type="number" [(ngModel)]="value" (ngModelChange)="onChange(true)" /> But I want to be able to enter only numbers, ...
Lako12's user avatar
  • 376
1 vote
1 answer
25 views

I open Angular source code in the VSCode, yarn docs is success, but some files (like routes.json) are generated into ~/.cache/bazel (like ~/.cache/bazel/_bazel_anlexn/64c9487e2f334a74d8f87219256e894b/...
anlex N's user avatar
  • 23
1 vote
1 answer
91 views

Any idea what I am doing wrong ? I need to set it up where I have Events that contains FormGroup and it has Dates as another Array of FormGroup... What am I doing wrong ? <div class="control-...
Dominik Lavoie's user avatar
1 vote
1 answer
81 views

After updating to Angular 20.3.9, primeng does not apply their styles to the input and button of this html and can not also import the Aura theme: <form class="cloud" id="login-form&...
Horacio García Magallanes's user avatar
1 vote
1 answer
62 views

I'm using Angular 20 and ngx-uploadx, but I can't seem to select a method for the API request. How can I select the method for the request, for example PUT? This is my code: const uploadOptions: ...
Cheball's user avatar
  • 11
1 vote
1 answer
163 views

We're starting to look at Angular 21's new signal-based forms, but I can't find a clean way to define default values for each form field, especially when building forms for objects where multiple keys ...
Peter T.'s user avatar
  • 3,397
1 vote
0 answers
78 views

Background: I am working on an Angular 20.3.10 application where I use signals for managing the state of a collection of toast messages. I have SSR and Zoneless enabled and have a web worker ...
Asad Koths's user avatar
Best practices
1 vote
3 replies
90 views

It is good practice to use signals in templates and bad practice to use methods. But signals and methods? Example (using the get method from Map): userStatuses: WritableSignal<Map<string, string&...
Mat's user avatar
  • 147
1 vote
0 answers
45 views

If build&deploy non-ssr localized versions as subdomains like en.example.org uk.example.org fr.example.org angular.json configuration looks like "i18n": { "...
Dmitry's user avatar
  • 11
1 vote
0 answers
41 views

My app uses a facade service (singleton injectable) with signals for state management and RxJS for API calls. I'm experiencing an inconsistent UI update problem with a table after a successful create ...
Devcat's user avatar
  • 11
1 vote
3 answers
93 views

I created an intro/splash screen component that should display for 5 seconds and then automatically navigate to the login page. The strange thing is: If I don’t use setTimeout, Angular correctly ...
Giorgio Bonacorsi's user avatar
1 vote
1 answer
70 views

I have two separate queries using @tanstack/angular-query: roles = injectQuery(() => ({ enabled: this.user.data(), queryKey: ['roles'], queryFn: () => lastValueFrom(getRoles({ roles: ...
Jon's user avatar
  • 464
0 votes
2 answers
106 views

I have a Reactive Form in an Angular 21 application, and the form requires an array of a certain sub-form. (In my case the sub-form(s) define "filters" on a search.) The documentation on ...
workerjoe's user avatar
  • 2,765
Advice
0 votes
2 replies
79 views

New SPA frameworks like React, Angular, Vue etc. Requires running node js server. But is there any way to run "output" (code generated after transpilation step) without running any server, ...
user3209013's user avatar
0 votes
3 answers
243 views

I have an Angular 18 app and need to inject environment variable values from a .env file into my environment.ts file and environment.development.ts. I want the values available during development (ng ...
binga58's user avatar
  • 89
0 votes
2 answers
92 views

I am using zoneless configuration and making a small homes app which is there on their website. I guess there are using older version of Angular for that. The problem I am facing is if I don't ...
Manas's user avatar
  • 12
Best practices
0 votes
3 replies
72 views

ngrx/signal-store updates the _removedUserId immediately without waiting for await function completes. at present my _removeUser function not called. here is my code snippet: withMethods((store: any) =...
3gwebtrain's user avatar
  • 15.5k
Tooling
0 votes
2 replies
87 views

I am reviewing Angular source code. What tools does Angular team use to design these svg? I take some for example: //adev/src/assets/images/overview.svg //adev/src/assets/images/roadmap.svg //adev/src/...
anlex N's user avatar
  • 23
Tooling
0 votes
1 replies
55 views

So I have an MEAN stack application where user types query ( or copy from mongodb compass ) in a editor and I use nodejs in backend to perform that query , So I use codemirror editor to text codes , ...
Vignesh's user avatar
  • 61
Tooling
0 votes
2 replies
43 views

Working on a project to scan the barcode on stickers using phone or tablet camera Coding - Angular 11 I tried using Zxing-scanner, it scans well when barcode are big enough, but fails for barcode on ...
Charmi's user avatar
  • 123
Best practices
0 votes
2 replies
46 views

Imagine that I am working with primeng and that I need two buttons with different styles using the primeng button component. Both buttons will be used a lot across the project, so my question is what ...
Horacio García Magallanes's user avatar