All Questions
200 questions
0
votes
1
answer
54
views
NavLink in React JS not working as expected?
So, I am working with ReactJS. In the Sidebar I used react-router NavLink component, but when I am working with nested routes it is not working as expected.
<li>
<NavLink
...
1
vote
1
answer
139
views
How to resolve Cannot find name 'NgxMatDatetimePickerModule'. Did you mean 'MatDatepickerModule'?
I am migrating my project to Angular 18.1 from Angular 9.1 but I'm facing the Cannot find name 'NgxMatDatetimePickerModule'. Did you mean 'MatDatepickerModule'?ts(2552) error in AppModule
I think the ...
0
votes
1
answer
73
views
Angular PWA and NodeJS backend
How can I configure an Angular PWA to ensure it continues making requests to a Node.js backend when the service worker is offline?
This is my ngsw.config.json
{
"$schema": "./...
0
votes
0
answers
30
views
The event binding is not working on my system but works on an online compiler
I am a beginner and using version 18 of Angular but Event binding doesn't work when i try it on my system.
Here is the code i was trying
product-list.component.html
<img [src]="product.pImage&...
1
vote
1
answer
52
views
Why my form validation while logging in is not working?
my ts component file :
import { Component, inject } from '@angular/core';
import { HeaderComponent } from "../header/header.component";
import { FormBuilder, Validators } from '@angular/...
0
votes
0
answers
32
views
I have a problem with passing the path data the user selects from the computer through the html input file element
In my Angular application, I am creating a function that allows the user to select an image file from his computer through the input file element and when the path data of that image is retrieved, ...
1
vote
0
answers
298
views
Basic Event Binding in Angular not working as intended
I am incredibly new to angular and was trying to learn how to use event binding. I began implementing a few, but realized even when I was using basic ones the output would not be as expected. Actually,...
0
votes
1
answer
253
views
how to use pagination in frontend (Angular) when the limit is defined in the backend (NodeJS, TypeORM)?
I am new to Angular and NodeJS. I want to use pagination in my frontend listing, I have limited my entries in backend method and it is working fine. The. problem is i am unable to use it in my ...
-1
votes
3
answers
2k
views
Node error : Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Whenever I'm trying to execute any node commands/create new angular project I'm getting the below error.
Node version 20.11.0
NPM version 10.2.4
0
votes
1
answer
138
views
Testing Angular with template containing mat-toolbar
I'm trying to write some tests for my Angular project.
Here is my template I'm using in my AppComponent:
<mat-toolbar color="primary">
<span>CRUD Exercise</span>
<...
0
votes
1
answer
149
views
I am facing an error when I try to run my angular frontend on vs code due to a prime ng check box error
Error: src/app/auth/login/login.component.html:20:58 - error NG8002: Can't bind to 'binary' since it isn't a known property of 'p-checkbox'.
If 'p-checkbox' is an Angular component and it has 'binary'...
1
vote
0
answers
290
views
Issue in View Blob PDF in Mobile Web Browser using Angular
strong textKindly help me out!!
Im using angular 13, trying to convert the array buffer to blob and viewing the blob data in iframe it perfectly opens in Web Browser but in mobile web browser shows ...
-1
votes
1
answer
172
views
POST request returns HTML instead of JSON
I am trying to access the Scryfall API and perform the following request:
https://scryfall.com/docs/api/cards/collection
For this I have set up an Angular project that can be found on a public GitHub:
...
0
votes
1
answer
33
views
Get textNames and colorNames From Local Nested Json File
so i have these data.json where i want to fetch data to show in my html
here is my Component
tooltip: any;
tooltipColor: any;
ngOnInit() {
this.DataFactory.getLimitedData(this.widgetData).subscribe(...
0
votes
1
answer
637
views
How to send email form Angular v15 using @sendgrid/mail?
I am trying to send an email from Angular v15 using @sendgrid; However, I am getting the errors below on importing the dependencies like : import { MailService } from "@sendgrid/mail";
I don'...