Questions tagged [angular11]

Questions about Angular version 11, the web framework from Google. Use this tag for Angular questions which are specific to only version 11. Use tag Angular for any Angular questions which are not specific to an individual version

700 questions
-1
votes
3 answers

How to add conditions on static JSON object using Type Script

I am working an application in which I created a static JSON object array which contains parent child data. I am showing that data into dropdown list what I want to achieve here is I have different records whose status will be different like…
Tauseef Arshad
  • 583
  • 5
  • 13
-1
votes
1 answer

How to use Clam AV in Angular 11 version

I want to scan the file content and viruses scanning while uploading file to server.I learnt about ClamAV but not getting any clue how to use it or installation in Angular component.Any help is appreciated.
Anjali
  • 49
  • 5
-1
votes
1 answer

How to give route of angular 11 app in asp.net core api after publish it should start on azure portal with angular front end not swagger

"after deploying asp.net core angular app on azure it will not show client side it shows swagger " public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if…
-1
votes
2 answers

Issue while Dockerizing angular application

I am very new to docker and angular , i am getting error index.html generation failed while builidng docker image can anyone help me how to resolve index.html generation failed error or correct me if there are any errors in my dockerfile. Docker…
-1
votes
2 answers

How to change the sticky header background color on scroll in angular 11

Tried to change the background color on scroll to the sticky header but not working. How to do it? when I scroll to the bottom of the body I need to change the header background color. How to do it? app.component.html
Sansara
  • 85
  • 3
  • 15
-1
votes
1 answer

Asp.net mvc 4 integration with Angular 11 app-root not found

I am trying to connect asp.net mvc 4 app with angular 11. Asp.Net Has controllers which handles server side posts to communicate with backend services. So the front end including styles are take care by angular 11 app. Initially i had tried with…
Dilip
  • 474
  • 2
  • 8
  • 18
-1
votes
1 answer

Cannot read property 'push' of undefined in Angular 11

When I call my function is throwing an error. I'm trying to insert my items via a forEach in angular. Below is the code which I tried. Ts code sItems: SaleProduct[]; btnSale() { let tsale = new SaleProduct(); let tcustomerId =…
Mervin
  • 35
  • 1
  • 8
-1
votes
3 answers

Image not loading in Angular 11

I can view my image from direct URL apply in src tag but if I tried load as dynamically it's throwing error. I tried [src]="img.ImagePath" this method also I'm getting same response Console log. Error HTML
valdimar
  • 3
  • 4
-1
votes
1 answer

Angular Routes Array Can't Be Detected

I'm trying to use routing in my Angular project that contains 2 components: contact & about. I follow the documentation & a youtube video on how to do this but I'm having trouble understanding this error I'm getting. I don't understand why…
user15974152
-1
votes
1 answer

How to load images in angular other than default assets folder

I have a folder directory structure here: I have provided the image path in html.  configured in angular json But is not loaded Its working well in default…
Mohamed Sahir
  • 2,482
  • 8
  • 40
  • 71
-1
votes
1 answer

Is document.title is better than Angular Title service?

I'm using Angular11 in my current application and I'm using Title service to update the page title. But I can achieve the same using document.title="". In my case, using Angular Title service is really beneficial? Or I'm just increasing my bundle…
-1
votes
1 answer

Property 'description' does not exist related Error in Angular 11

Full Example Link: https://www.truecodex.com/course/angular-6/angular-6-get-and-post-request-http-client Error Detail error TS2339: Property 'description' does not exist on type 'Blogpost'.