Category "angular"

how to playback audio blob from Spring boot App

I am storing an audio blob(recorded voice) in angular and then I am calling a spring boot API to store it in azure blob storage as so: submit(){ const

Ionic Dark Mode - Force Light/Dark and System theme

I would like to add a toggle for my Ionic project that controls the theme of the entire application. The toggle can force a light mode/dark mode irrespective of

Close active modal

I have opened multiple modals in my angular project. I have made a modal component as wrapper for the content. Now I want to close the active modal instead of c

Angular_Improper_Type_Pipe_Usage in checkmarx scan

We are using a tool called checkmarx to scan code vulnerability. I am getting Angular_Improper_Type_Pipe_Usage warning for the below Angular code in checkmarx s

I have an angular app and some elements can not find with cypress

enter image description hereI am using cypress to automate our angular app but it is not finding some elements which are under a special div it is behaving like

How to acess an entity under _links in Angular from Spring Data REST?

I encountered a problem which is very challenging to my Angular level. Could you give a help please? In Spring Data REST the entity Worker has a @OneToMany bidi

Error : Module '"@angular/material"' has no exported member "..."

i create a custom Angular material module, material.module.ts file and import the following Angular material UI components in this file like given below. import

Upload File from Angular to .Net

I am trying make a post with my form along with a file. I tried see others posts but without result. If I make the post without the file, works just fine. Engli

Angular *ngFor loop - Type 'OrderItem' is not assignable to type 'Iterable<any>'

I have the following html: <div class="grid mb-5" *ngFor="let orderItem of order.orderItems"> <div class="col-2">{{ orderItem.product.name }}&

Angular Ionic Capacitor Barcode Scanner Plugin not working on Web

I am currently building my first Ionic app, which should include a QR-Code scanner. This is my package.ts { "name": "drink-inc", "version": "0.0.1", "auth

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