306,865 questions
0
votes
0
answers
18
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
52
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
1
answer
45
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 ...
0
votes
1
answer
25
views
Angular + PrimeNG 19.1.4 Panel animations not working inside router-outlet (works outside)
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
39
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
41
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
40
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
22
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
0
replies
33
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
75
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
48
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
27
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
70
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 ...
Tooling
0
votes
1
replies
62
views
How to add interactive components like button/input on top of PDF in Angular?
I am trying to create a UI when user click 'Sign' button, it will show a pop up modal with a PDF content display. I want to add a button on the sign field of PDF, if user click on it a sign pad appear ...