All Questions
306,548 questions
3
votes
0
answers
91
views
SVG circle appears briefly at (0,0) before animating to correct position — how to fix?
I have an SVG with a blinking circle used as a loading animation. The circle is positioned at a fixed coordinate using cx and cy:
<circle cx="316" cy="59.5" r="7" fill=...
Best practices
1
vote
1
replies
55
views
React to Angular Signal without using signal state
I'm getting back into Angular for the first time since v8, and have been really liking using signals as a cleaner alternative to RxJS.
The one thing that appears to be missing is the Signal equivalent ...
-2
votes
0
answers
115
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
100
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
58
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
62
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
3
answers
136
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
84
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
54
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
111
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
47
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
1
answer
109
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
234
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
77
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
77
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-...