306,577 questions
Tooling
0
votes
2
replies
30
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
63
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
74
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
43
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
99
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
41
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
94
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 ...
2
votes
0
answers
146
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
65
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
73
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
71
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
113
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 ...
Best practices
1
vote
3
replies
129
views
Why is field injection discouraged in Spring, while it is encouraged in Angular?
In both Spring and Angular, there are two common ways to inject dependencies:
Constructor injection
Field-style injection (@Autowired in Spring, inject() in Angular)
In Spring, constructor injection ...
0
votes
1
answer
70
views
Angular SSR + cpanel + Node.js: UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token '??='
I have a new Angular SSR project with this specs:
ts.config:
{
"compileOnSave": false,
"compilerOptions": {
"strict": true,
"noImplicitOverride": ...
1
vote
1
answer
65
views
HugeRTE dropdowns appearing behind Angular Material Dialog after v21 migration
I have recently migrated my project from Angular 17 to 21. I have several instances where i have a dialog (from Angular Material) with a text editor from library @hugerte/hugerte-angular. After ...