Questions tagged [angular]
Questions about Angular (not to be confused with AngularJS), the web framework from Google. Use this tag for Angular questions which are not specific to an individual version. For the older AngularJS (1.x) web framework, use the AngularJS tag.
angular
305,716
questions
0
votes
0
answers
8
views
Only one endpoint is not intercepted by auth interceptor in Angular 17.2.1
Only the api/authentication/reset-password endpoint is not intercepted. Other endpoints and api/authentication/refresh-token are intercepted via authInterceptor as expected.
// src\app\admin\...
0
votes
0
answers
13
views
CI/CD - GithubAction with Azure fails because of not able accessing AZure ressources
I have the following CI/CD Job in GitHub-Action:
name: Build and deploy ASP.Net Core with Angular app to Azure Web App
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-...
1
vote
1
answer
16
views
angular break sub array values to main object. subarray size is dynamic
angular break sub array values to main object. subarray size is dynamic
myArray = [{'ID' : 1,
'addDetail' : ['test 1', 'test 2']}]
expected array
myArray = [{'ID' : 1, 'line1' : 'test 1', '...
0
votes
1
answer
12
views
How can i make a login feature in my Angular 16 app to Login using cognito username and password
I am creating an angular 16 app . i have been given a username and password that belongs to a cognito user pool now i want to create a Login page in my app that should authenticate and log in such ...
0
votes
0
answers
17
views
Unable to get non default method from the controller in ASP.NET Core 8 with Angular frontend
I am using ASP.NET Core 8.0 with Angular v17+ frontend. I can only get my default get method from the controller but not my other one.
My controller looks like this:
[Route("api/values")]
[...
1
vote
1
answer
27
views
Getting error, Null is not assignable to type String | Undefined in angular
I am having problems with my code, is a POS and I am trying to do the Sell part, but this error is keeping me for days and I don't know how to fix it.
X [ERROR] NG2: Type 'string | null' is not ...
0
votes
0
answers
7
views
Tanstack Table in Angular - How to return a component for a cell?
I'm having trouble figuring out how to use an Angular component to be rendered as cell contents in a TanStack Table.
In ag-grid I could use the cellRenderer field on a ColDef for this.
{
...
0
votes
0
answers
15
views
Getting HttpErrorResponse in Angular, Http failure during parsing
I am building a RESTful API with a Spring Boot Backend & Angular frontend.
Utilizing a service meant to return a client list as shown below:
@Injectable({
providedIn: 'root'
})
export class ...
0
votes
1
answer
13
views
Angular 17 <router-outlet> works wrong
So i am building projects in angular and i found out that in devtools i can see my router-outlet and components are generated outside of it like that:
enter image description here
app.routes
`import { ...
0
votes
0
answers
12
views
How to Detect the Uploaded Image Face that Matches Faces in Local Images
I have developed an Angular application that use face-api.js for face recognition. The application processes a set of local images to identify faces and generates corresponding face descriptors. When ...
0
votes
0
answers
12
views
RTCPeerConnection is not defined
I have an Angular application with server side rendering. I have created a WebRTC service that works fine in unit tests. However, when I run the application I get the following error:
...
0
votes
0
answers
13
views
HTMLMediaElement.currentTime - Reduced time precision
How to enable privacy.resistFingerprinting in Firefox?
0
votes
0
answers
11
views
Ng Serve compilation failed "Error: Maximum call stack size exceeded" in angular 18 upgradation
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Maximum call stack size exceeded
./src/polyfills.ts - Error: Module build failed (from ./...
0
votes
0
answers
9
views
Failed to load resource ... after updating to the new version of Angular
A few days ago, I changed my Windows computer and installed the new version of Angular, unfortunately I forgot the previous version of Angular that I had.
I was doing a project and everything was fine....
1
vote
0
answers
20
views
How do I actually build and consume an Angular 18 library?
The project I'm working on needs to split some components into a shared library. I'm using Angular 18 with standalone components. I've found a lot of answers / articles for these issues online, but ...