Category "angular"

How to consume Alfresco APIs from an angular application?

I have an angular application, and I want to interact with Alfresco community 7.1 via APIs from this List . how can I call these APIs? Another question, I know

How to update html content of an element with angular function?

I have a table fulfilled with ngFor directive. Each line has a title, a badge (Material badge) and a button. I would like to change matBadge value when I click

FormGroup: Dynamic input type breaks value attribute binding

It took me a couple days, but I narrowed it down to the type attribute. In my StackBlitz, the first radio set is just putting an empty string in the FormGroup o

How to prevent the display in the logs of error when using angular httpClient.get?

I've the following method: retrieveAccessToken() { this.httpClient .get(environment.backendUrl + 'accounts/refresh-token') .subscribe({

Howto get value from store ngrx using ngrx entity and multiple reducer

I am newbie with ngrx entity, and also in angular. I am trying to store data in the store with ngrx, with multiple reducers. I think am doing well, but the prob

How to perform validation in reactive form with nested form arrays in table with angular?

Stackblitz link: https://stackblitz.com/edit/angular-ivy-bafyye?file=src/app/components/user-details/user-details.component.ts I have created nested reactive fo

Copy value of a local variable to a global variable [duplicate]

I have this variable declared in global scope: export class InboxmanagementComponent implements OnInit { statmentID: number; // global vari

Better alternative to using concatMap twice within pipe?

I want to execute a pre-defined promise (promise 2) recursively after another promise (promise 1) resolves to see when my connection to a peripheral device retu

Angular WebRTC error: Error: Uncaught (in promise): InvalidStateError: Failed to execute 'setRemoteDescription'

so I have been trying to make a peer-to-peer video-call service using webRTC and I have come across this error and don't really know how to solve it. I don't ha

Instantiating AgGrid as an element of a dynamic component

I would like Ag-grid to be part of a dynamic component in Angular. The host calls componentFactoryResolver on the component which holds the agGrid instance but

Angular Error trying to diff '[object Object]'. Only arrays and iterables are allowed

I have issue with this "Error trying to diff '[object Object]'. Only arrays and iterables are allowed" when i want to get my products in html Here is my product

ERESOLVE Error when installing Angular Material

I'm currently creating a project with Angular 13, the Ionic CLI, and Angular Material. I have no problem adding @angular/material when I don't use Ionic, but us

I want to display a list of products with details dynamically with jspdf-autotable in angular using only typescript

this is what i have as default for my jspdf autoTable(doc, { head: [['Product', 'Quantity', 'Discount', 'Prix']], body: [ ['product1'

Angular ng build time shoot up?

I'm testing ng build --configuration production command: LOCAL PC: ng build time: 1'06'' Build time: 52'' Building time percentage: 78% INTEGRATION SERVER.

How to disable input outline in angular material

I use angular material mat-form-field and matInput. But input has this outline . How can i remove it? <mat-form-field appearance="outline" class="form__item

Getting paramMap data from another component that is not in the current route (ActivatedRoute) in Angular

Here is my code using paramMap within component A with the activatedRoute and it works fine ngOnInit(): void { this.route.paramMap.subscribe((params) =&

[Firebase/InAppMessaging][I-IAM700002] Error happened during message fetching Error Domain=NSURLErrorDomain Code=403 "(null)"

I am working on an Angular + Cordova project. I am trying to use the cordova-plugin-firebasex plugin for push notifications functionalities. It is doing good fo

Unknown option: '--base-href' Angular 13 ng serve

im creating an angular 13app using CLI i want to set a path to my app when i run it i got the following error : Unknown option: '--base-href' Unknown option: '/

How to maintain a Websocket connection for my Angular(13.0.4) application across pages? I need to load the websocket url into service not at the start

So this is my web-socket.service.ts where I send the url information to the websocket in order to establish the connection: import { Injectable } from '@angular

I am not able to implement recordrtc

I am not able implement recordrtc. I took the following code from the site: https://medium.com/@coolchoudharyvijay/use-mic-in-angular-to-record-audio-simplified