306,866 questions
1
vote
0
answers
45
views
Angular @for Loop Not Updating When Signal is Truncated
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 ...
0
votes
0
answers
36
views
403 Unauthorized for JS files but everything else works
Can someone help me out why nginx returns a 403 Unauthorized for .js files, but other files work:
I have a file /etc/nginx/sites-available/my-server.nl:
server {
listen 80 proxy_protocol;
...
0
votes
2
answers
56
views
Angular 20 is not detecting the change after data is loaded initially
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 ...
0
votes
0
answers
18
views
ngx-extended-pdf-viewer fails to load after clicking button in Angular popup [closed]
I’m using ngx-extended-pdf-viewer in my Angular project to display a PDF inside a popup (modal).
The viewer works fine initially, but when I click the button to open the popup, it fails to load or ...
1
vote
2
answers
69
views
Prevent navigation to non-existent ID params
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 ...
-1
votes
1
answer
35
views
Angular + PrimeNG 19.1.4 Panel animations not working inside router-outlet (works outside) [closed]
I have a custom component my-panel(just a wraper for p-panel. html code for my-panel is same as primeng panel,We are extending to do any customizations if required) that extends PrimeNG’s Panel (...
-4
votes
0
answers
40
views
Datetimepicker issue after upgrading to angular version 15. Time is not getting displayed [closed]
Im not getting the time displayed in the datetime picker filed.
0
votes
0
answers
43
views
Is it a good practice to pass component configuration in Angular Signals API as a single config object instead of multiple input() signals? [closed]
I’m using the new Angular Signals API (Angular 17+), where inputs and outputs are declared with the input() and output() functions instead of the classic @Input() / @Output() decorators.
When ...
0
votes
0
answers
41
views
Google Drive integration with Angular app gives 403
I have tried to use this component
<drive-picker client-id="clientId" oauth-token="userAccessToken">
<drive-picker-docs-view starred="true"></drive-...
0
votes
0
answers
23
views
Nx generator shows “NOTE: This generator does not support --dry-run” when using another generator (like libraryGenerator)
I’m writing a custom Nx generator that creates a library and then modifies the workspace (for example, updates ESLint rules).
Everything works fine, but when I run it with --dry-run, Nx shows this ...
Best practices
0
votes
1
replies
39
views
How to deploy an Angular SSR app using AWS?
As I searched online many times but didn't find a satisfying answer, I'm asking my question here.
I have an Angular app (version 20) that uses SSR and I would like to deploy it using AWS. I know how ...
Best practices
1
vote
3
replies
78
views
Angular Signals and methods in templates
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&...
1
vote
1
answer
49
views
Angular unit testing - using debugElement.queryAll to get instances of a button
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 ...
0
votes
0
answers
29
views
How to set the grid height to normal and pagination row to normal height?
<ag-grid-angular
style="width: 100%; height: 100%;"
class="ag-theme-alpine"
[rowData]="peopleData"
[columnDefs]="agGridColumnDefs"
[...
2
votes
1
answer
74
views
Angular effect calling method which sets other signal
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 ...