306,557 questions
-2
votes
1
answer
68
views
Hot Reloading in Angular 20
If I change something inside my application, for example content in HTML file, the browser is not reloading. Instead I manually have to press F5.
package.json
"dependencies": {
"@...
2
votes
2
answers
86
views
Is manually calling ngOnChanges the only way to configure a host directive like NgxMaskDirective with dynamic inputs?
I'm building a reusable mask directive in Angular 21 that wraps NgxMaskDirective as a host directive. The goal is to support named masks for common Brazilian document and formatting patterns (CPF, ...
-3
votes
1
answer
53
views
Redux and interception task integration in my Angular 21 project [closed]
In my Angular 21 project, I am facing an integration issue between Redux state management and the HTTP interceptor pipeline, where the expected synchronization of authentication data (such as JWT ...
Tooling
0
votes
5
replies
57
views
Profiling Angular Build Timings
I need to profile what is going on inside my ng build to get an idea of where the bottlenecks are.
I've already generated the stats.json and viewed it with the esbuild bundle analyzer. However, I'm ...
0
votes
2
answers
109
views
Angular Material: "'imports' must be an array of components, directives, pipes, or NgModules"
I'm following the Angular Material documentation. https://material.angular.dev/guide/getting-started
When using MatSlideToggle in a standalone component I get this error:
'imports' must be an array ...
1
vote
0
answers
81
views
Angular No value accessor for form control error on mat-select
I have a custom npm package that houses shared components, some of which include a mat-select . I'm using reactive forms and every input type (including chips, buttons, radio, etc) is fine but every ...
Tooling
0
votes
0
replies
50
views
VS Code extension for Angular CLI commands with GUI support
I'm currently using Angular CLI in the terminal ( as we all do :) ) but I'd like a VS Code extension that provides a graphical interface for running Angular CLI commands (generate components, services,...
Best practices
1
vote
3
replies
105
views
Angular Splash Screen - Loading before global CSS
I added a splash screen to my Angular Application and it works.
However, I want to know if it is possible to show the splash screen also while the global css file is loading.
As you can see in the ...
2
votes
0
answers
44
views
Why can Zoom re-trigger Chrome's Mic prompt while my Web App stays "Silent" after being Blocked?
I'm facing a frustrating UX issue with microphone permissions in Chrome.
The Flow: User grants mic access -> User later goes to Chrome Site Settings and manually toggles the Microphone to "...
1
vote
2
answers
101
views
Angular search query not updating with user
I am making a zoo angular project practicing RXJS, where when the user searches or puts in a keystroke it first waits a couple milliseconds before searching so you dont do it on every key stroke.
Then ...
1
vote
0
answers
199
views
How to make Angular app wait for the config (provider) to be loaded via AJAX?
The code in app.module.ts is like so:
export function ConfigFactoryInitialize(configService: AppSettingsService): () => Promise<AppSettings> {
return () => configService.loadAsync();
}
...
Best practices
1
vote
1
replies
72
views
Should I use null or undefined as a default starting value for my signal?
Basically given the following context, what is the best practice?
signal<MyCustomType | null>(null)
signal<MyCustomType | undefined>(undefined)
According to Null vs. Undefined :
...
1
vote
0
answers
76
views
Duplicate function implementation in [plugin angular-compiler]
I'm on a fresh install of an angular project and I'm trying to ng serve it after npm i in the folder. I get this error straight up:
X [ERROR] TS2393: Duplicate function implementation. [plugin angular-...
1
vote
0
answers
74
views
Form.io (Angular / ASP.NET Zero) dropdown (Choices.js) not showing selected value until clicked
Problem
This happens specifically in wizard multi-tab forms where same field exists across tabs.
I am using Form.io in an ASP.NET Zero Angular project with a wizard (multi-tab form).
A dropdown field (...
0
votes
0
answers
117
views
Angular Change Detection w/ Signals
First things first - I can't post any code examples as it's proprietary stuff.
Now to the problem: I'm using Angular 16 and Signals for change detection. Change detection is working in ngOnInit, but ...