Skip to main content
Filter by
Sorted by
Tagged with
3 votes
2 answers
91 views

I am trying to create a toast service for my e-commerce project. Initially, this was my code below. There is a toasts array and an add function. We can pass in a message to the add function and it ...
Souvik Samanta's user avatar
0 votes
1 answer
70 views

I am new in Angular environment and I am actually developing a little desktop app with electron. I have inserted the selector (app-root) of the App component (generated automatically) into index.html'...
DynoZ's user avatar
  • 168
0 votes
0 answers
77 views

There's an example on using the new Angular Aria menu feature here. Below is a simplified version of the example code (with only one button): <button ngMenuTrigger #origin #trigger="...
Luke B.'s user avatar
  • 1,308
0 votes
0 answers
38 views

I am developing an Angular SSR application Angular 21 and I chose Firebase App Hosting for deployment. The application works perfectly in local development, but the Firebase build fails when importing ...
onur's user avatar
  • 1
1 vote
1 answer
77 views

I am working on a simple Angular app where I fetch data from an API, then load it in the html template. import { Component, inject, OnInit } from '@angular/core'; import { ReclamationService } from '.....
xenon zogratis's user avatar
-1 votes
1 answer
72 views

Looks like Angular version 18.2.14 has a bug on @Directive standalone compiling the directive: import { Directive, ElementRef, HostListener } from '@angular/core'; @Directive({ selector: '[...
Justin's user avatar
  • 1,164
0 votes
0 answers
43 views

We have a Angular Web app which has a node js backend. We are using currently node version Y. For CICD we are using a Jenkins server. Jenkins server and web server are both using node version Y. ...
user32206118's user avatar
0 votes
1 answer
65 views

Every time I write a primeng button for some reason in the browser inspector (even when it´s on phone view) the padding (or text) of the button looks centered: However in my phone Google Chrome does ...
Horacio Garc�a Magallanes's user avatar
0 votes
1 answer
48 views

In Angular, assuming I have this component where automationId is updated every new content while txt is updated less frequent. During those times that txt is NOT updated or the value remains as the ...
user3714598's user avatar
  • 1,783
0 votes
0 answers
38 views

It seems that Primeng input control has a fixed size (width) under the hood. I tried to limit the width in order to fit in a grid layout but failed: the control is wider than its container. For a ...
cpliu338's user avatar
  • 647
1 vote
2 answers
62 views

I am using the PrimeNG Accordion component where the first panel contains a form and the second and third panel contain tables. See an example here: https://stackblitz.com/edit/wawhkkem-rwy91iox <...
INC's user avatar
  • 11
0 votes
0 answers
69 views

i have a use case where I have a MatTree<Item> where Item contains a key property. Given a specific key , i would like to expand the MatTreeNode and its parent recursively till root. Currently, ...
Ariba Siddiqui's user avatar
1 vote
0 answers
47 views

Problem When clicking on an ngbDatepicker input to open the datepicker popup, I get the following runtime error: ERROR RuntimeError: NG0203: takeUntilDestroyed() can only be used within an injection ...
Oussama hennane's user avatar
1 vote
0 answers
78 views

I’m setting an HttpOnly cookie in the browser every time a user logs in or signs up on my website. This cookie contains a refresh token that I use to get a new access token. The problem is that the ...
Mohamed El_Brabary's user avatar
Best practices
1 vote
1 replies
33 views

I am using a ResizeObserver to monitor an element's dimensions. When the size changes, I update a Signal (or state variable) that is bound to a CSS Variable in my template. This CSS variable then ...
Murhaf Sousli's user avatar
1 vote
1 answer
99 views

We'd like to install the latest Tailwind (v4) into our Ionic/Angular project so we can use its utility-first approach. I've tried the guides mentioned here: Angular guide Capawesome guide Workaround ...
Just Shadow's user avatar
  • 12.1k
2 votes
2 answers
143 views
+50

After migrating to Angular CLI 20.3.6 and Node.js 24.0.0 When building an Angular library using ng build --configuration production library, the build process crashes sporadically with exit code -...
Asif Zaidi's user avatar
2 votes
1 answer
47 views

I am creating a ComponentPortal for use in an overlay like so. const myPortal = new ComponentPortal(MyComponent, null, Injector.create({ name: 'MyPortalInjector', parent: this.injector, // ...
Zachu's user avatar
  • 81
0 votes
1 answer
45 views

I have ag grid rows, a row can have 0 or many children. I would like to define selectable rows which are at level 0 (rows which don't have parent). here is my column definitions : { columnDefs: [ ...
Ramses Kouam's user avatar
Advice
2 votes
3 replies
88 views

I’m testing Angular’s new control flow syntax @for with preserveWhitespaces: true, and I’m seeing different whitespace behavior compared to *ngFor. Environment Angular: 17+ (control flow syntax ...
山口�?�太朗's user avatar
-1 votes
1 answer
32 views

After our latest Angular app release, which included a CSP update, some functionality broke, specifically related to map tiles. Scenario: The app was originally using Google Maps, which worked fine. ...
Kasun Gamage's user avatar
0 votes
0 answers
62 views

I am maintaining ng-openapi, an open source library that generates API clients. I previously added a neat feature to enable client-specific HTTP interceptors. The library currently uses the legacy ...
T. Jami's user avatar
  • 1,179
Best practices
1 vote
0 replies
51 views

I have some questions about ngrx signal store. How can you let two different stores talk to each other? Is there something similar to working with slices like in the ngrx store? Are the new events ...
Maarten's user avatar
  • 11
Best practices
1 vote
1 replies
64 views

So I've got a page in my app that goes like this <app-parent> <app-child1> <app-child2> <app-child2-child1> et cetera And the parent contains many variables ...
Zachu's user avatar
  • 81
1 vote
2 answers
89 views

I'm experimenting with Angular 21's new signal forms and tried using a component implemented with NgxControlValueAccessor with the new [field] directive. Using the custom control component with [field]...
Peter T.'s user avatar
  • 3,461
0 votes
1 answer
118 views

I have a page layout with a fixed left panel and a right content area that contains a scrollable table. The issue is: The horizontal scrollbar reaches the far right But one more column is still not ...
madhu chowdary's user avatar
0 votes
0 answers
70 views

I added the Angular SSR boilerplate code to my existing Angular 21 project by using the schematics ng add @angular/ssr which generated the following files: server.ts main.server.ts app.module.server....
LukyFoggy's user avatar
  • 711
2 votes
1 answer
141 views

I have an Angular component with a required input signal which I use in the constructor: export class ApplicationComponent { protected key = input.required<string>(); constructor() { ...
Galdor's user avatar
  • 2,045
0 votes
2 answers
119 views

I am building an ASP.NET Core Web API with an Angular frontend using the DevExtreme DataGrid. I encounter a SqlException when trying to filter my grid by a date column: Microsoft.Data.SqlClient....
Dilshan Prasad's user avatar
2 votes
1 answer
68 views

I have a column chart implemented. Now, I have to add good range and bad range values for the same. Good range and bad range both will have radio buttons to choose between '<' and '>' and an ...
PiyaModi's user avatar
  • 257
3 votes
3 answers
137 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,035
1 vote
1 answer
109 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
2 votes
1 answer
96 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,739
4 votes
1 answer
159 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
109 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
  • 518
0 votes
1 answer
63 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
82 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
74 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
78 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
99 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
  • 767
1 vote
0 answers
154 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
1 vote
0 answers
107 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
2 votes
1 answer
80 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
  • 518
4 votes
1 answer
94 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
2 votes
1 answer
95 views

I am trying to set AuthGuard for a user details component page. Without login user details page can not see. I am storing login details in localStorage. If i add AuthGuard to user details component my ...
Power All's user avatar
Advice
4 votes
6 replies
197 views

I apologize if the title is confusing, but here's what I mean: I have a large set of files, such as log files, and I want to put them all into a zip file and send that zip file to a frontend web page. ...
Deoxys_0's user avatar
  • 305
5 votes
1 answer
132 views

I'm consuming an API with Angular 21. I have a service that sends a http petition and returns it's response. However, I'm calling the service on my ngOnInit; when I start the app, it displays the ...
Manuel Ib�?ez Hacha's user avatar
0 votes
0 answers
38 views

I'm using AOS (Animate On Scroll) in my Angular SPA with standalone components. The animations work fine when I first load the page, but when I navigate to another route and then return to the ...
Mohamed Hatem's user avatar
Advice
0 votes
1 replies
80 views

I'm trying to build an application that functions similar to an excel sheet for the purpose of saving monthly bill payments for tenants of an apartment complex. The cell headers and rows will be ...
Marwan Hashem's user avatar
1 vote
1 answer
65 views

I'm having trouble implementing this kind of form. I want to build an app-management-like module in order for admins to adjust contents of the app (e.g. Products and Categories). However, I want to ...
Dan Mihalea's user avatar

1
2 3 4 5
6136