For questions regarding programming in Angular specific to version 13. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular13]
562 questions
-1
votes
1 answer
Creating Custom Component Angular Package
I am trying to create components which can be reusable in multiple teams. I created a new angular project and published it to azure devops artifacts.
I also tried to use the component in a new project. I am able to reference the common component…

Immortal
- 1,233
- 4
- 20
- 47
-1
votes
1 answer
How to avoid HTTP call from chained angular subscription
I have a situation where I call an HTTP service to get data back, then based on that data I need to immediately make another HTTP call. Normally I'd pipe the first output to a switchMap and be done. That is now being done from inside a route…

Gargoyle
- 9,590
- 16
- 80
- 145
-1
votes
1 answer
Angular library 404 loading.gif not found
I currently have monorepo which contains a standard Angular application. At the same level as my app, I have an Angular workspace which contains only a library.
I did the necessary mapping in the main app to tell it where my library is. I can use…

jdc
- 384
- 4
- 15
-1
votes
2 answers
ngx-source-obfuscation with Angular 13
I find this error when I try to install ngx-source-obfuscation with Angular 13. Help me out to solve this error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: (myProject)@0.0.0
npm ERR!…
-1
votes
1 answer
document.getElementById('msg').innerHTML getting error for angular 13
Help to resolve this. Want to contact the data I tried all possible ways
(method) Document.getElementById(elementId: string): HTMLElement | null
Returns a reference to the first object with the specified value of the ID attribute.
@param elementId —…

Asmita Patil
- 23
- 1
- 3
-1
votes
1 answer
Some problem with build my application on angular 13
I try to found solutions, on this problem...
Because, is not on my code...
Its is after update to latest npm and fs-extra...
Build at: 2022-03-16T13:33:13.718Z - Hash: aeac85e5815ce0c4 - Time: 7748ms
Error:…

Shimshaker
- 13
- 4
-1
votes
1 answer
Angular - How to make elements inside mat-stepper inside mat-dialog adjust to the height of the dialog?
I have a mat-dialog which contains a mat-stepper. Inside this stepper, I have a step which contains a form. In this form I have multiple elements (list, mat-card and table) which I want to always fill the height of the dialog. Basically, I want the…

Chris
- 1,417
- 4
- 21
- 53
-1
votes
3 answers
Cannot convert data to json in angular 13 Content type 'text/plain;charset=UTF-8' not supported] after sending data from angular to spring boot
I am trying to submit a form in following way:
saveBuildcompany(): void {
// @ts-ignore
// @ts-ignore
console.log(this.group?.value);
let data2=this.group.value;
let serializedForm = JSON.stringify(data2);
…

Bogdan Onyshenko
- 415
- 1
- 6
- 24
-1
votes
1 answer
How to run Angular 12 project using Angular CLI 13
I downloaded an Angular 12 project and I am trying to run it using Angular 13 (latest version). Thus I have problems thrown when I try to run it it. Even if I tried to use npm install, some dependency issues are thrown
Errors thrown when running…

Mlle 116
- 1,149
- 4
- 20
- 53
-1
votes
1 answer
Angular read component name from json and add 'this' to the name
I am trying to get a name of a component from a json file and via a method add 'this' to its name.
import { MyComponent } from './Mycomponent';
...
MyComponent = MyComponent;
data = [
{
"name": "MyComponent"
}
];
The method:
…

deszok
- 145
- 2
- 14
-2
votes
1 answer
Solution to avoid imports statements for models on the top of my component ts files
I've been working with Angular for some time. I feel that my modularization lack some whim. I spent some time studying NgModule and its properties and I felt confident to try to upgrade the modularization of my app but it didn't work the way I…

Diego Alves
- 2,462
- 3
- 32
- 65
-2
votes
1 answer
Angular *ngFor not reading nested data
I am trying to get angular to display some data.
Here is the data:
data = [
{
title: 'title1',
data: [
{
id: 1,
description: 'some description'
},
{
id: 2,
…

pixelKus2022
- 15
- 4
-2
votes
2 answers
how to pass json data into an array in angular
I want to pass json data that I get from an API into an array and display that information in my template and I don't know how to do that.
this error apears on my console :
my ts file :
this.api.getJoursFeries(year).subscribe(
(data:…

Fouad_Aurag
- 35
- 1
- 7
-2
votes
1 answer
router links are disabled in angular cli
I am using Angular CLI 13.3.3
Issue details
Router Links are not working. It seems disabled. Not even clickable.
Video of Issue
Issue described in video. Please click here
Rendered Html in Browser
HTML Code

Pankaj
- 9,749
- 32
- 139
- 283
-2
votes
1 answer
Stream authorized video from azure media service with duende identity server
I have the following constellation:
Client: Angular + ngx videogular (I can switch to azure media player)
Server: .Net 6 + duende Identity Server for user authentication and authorization (Identity server 4)
Client app and the server are published…

Enis
- 93
- 1
- 9