Category "angular"

ANGULAR - HYBRID - Can't bind to 'ngClass' since it isn't a known property of 'a'

I'm working on a Angular Hybrid project which has several modules from Angular 12 and other from AngularJS. Recently I updated the libraries to Angular 13. Afte

Error in building angular code source to contribute

I want to build the angular code source. I follow the guide line , but I get error when I run node ./scripts/build/build-packages-dist.js This is the output nod

Using library that calls requestAnimationFrame in Angular

I'm using a library (https://echarts.apache.org/v4/en/api.html#echarts) inside Angular that internally calls requestAnimationFrame. When I have chart in idle st

Expand & collapse angular material table with a button

I'm having a problem with angular material table, I want each row to be expanded with a button (details button as shown in picture), but it getting expanded at

Issue in Delete multiple records after checbox selection angular and web api

Right now this code is deleting single selected record, but unable to delete multiple records. Is there away to delete multiple selected records? Component Html

Count of filtered ngfor angular

Is there an easier way to get the count of actual displayed results in an ngFor that has a nested ngIf without? <div *ngFor="let stuff of things"> <

Angular StackBlitz error: [NoSuchMethodError: method not found: 'write$1' on null]

I am trying to setup a Stackblitz project with Angular Material theming, following the official guide for Angular Material 11 theming. I created a sass file for

Extend angular-material buttons with loading animations

I'm trying to create a generic solution in Angular 12 for disabling (and displaying a spinner) when a button is clicked, until the API responses. In order to ac

Upgrade angular project (8.0 to 9.0)

I got this issue after upgrade angular project (8.0 to 9.0): This likely means that the library (ng2-select2) which declares Select2Module has not been process

How to compile Angular 12 library with recursive components?

Tldr: how to compile angular library with recursive components? Prehistory: I have an application which purpose is to display complex forms. First you have to c

How can I return an Observable with data of other Observables using his return value in the others

I have a project in which I want to return an Observable of Hero object. My heroes have multiple id properties to fetch data from other Observables as a Skill o

Getting error while verifying phone number in firebase (angular project)

I am working on an angular project, where I am adding MultiFactor Authorisation using firebase authentication, I am trying to verify phone number by firebase.au

ngSubmit not working (Following Traversy Media Angular Crash Course)

My ngSubmit is not working. The problem is that I am trying to follow Angular Crash Course this tutorial at 1:30:00 mark he tries to add in onSubmit alert and I

Angular 12: Module Federation- background image in shell app not loaded correctly in host app

I have a child mfe that sets the background image of a div using url() .div-class { background:transparent url(../../../assets/image.gif) no-repeat } This

selectedOptions is not updating on MatselectionList with ngModel

I have MatSelectionList with different Classes. First time when I select classes it will associate student into this classes. This is working fine, but the prob

How to get exact code coverage in sonarcloud for angular

I am trying to produce code coverage report in sonarcloud for angular-12. Could someone help me how to configure azure pipeline for generating correct code cove

How to distinguish two mat-table (Angular UI) in same component

I use two mat-table in the same component and now renderRows() not working for the second table. @ViewChild(MatTable) tagsTable: any; @ViewChild(MatTable) s

How to distinguish two mat-table (Angular UI) in same component

I use two mat-table in the same component and now renderRows() not working for the second table. @ViewChild(MatTable) tagsTable: any; @ViewChild(MatTable) s

Can't use transform: scale() in Angular animation without Experimental Web Platform features enabled - how to fix this for hosted site

This issue is only on Chromium browsers. Whenever I use a style with transform: scale() in an Angular or a css keyframes animation and I do not have the Chrome

How to disable angular detection for assets folder

Am developing an angular application with spring boot as a back end, i wanted to make an upload to a local stockage in my PC. I made a Stockage folder in the as