Category "angular"

What is best way to go about replacing 'deployUrl' in angular.json for v13?

I'm currently in the process of upgrading my app from v12 to v13 and noticed this warning pop up: Option "deployUrl" is deprecated: Use "baseHref" option, "APP_

How to call the same angular component multiple times using querySelector

So I have a component called custom-modal.component. The HTML file looks like this: <dialog id="custom-modal"> <ng-content></ng-content> <

I can not subscribe on mergeMap observable in angular 13

I want to implement a connexion senario based on Roles in angular. When the user click on CONNEXION button after filling in the form ( username - password), two

How can I stop Apache tomcat to log 404 errors in Application Insights? GET/* Error

I have deployed an angular application in a Tomcat app server in Azure App Service. In order to enable fallback into index.html I included a web.xml file inside

Google Cloud Compute Engine http Connection Timeout

I have setup a compute engine VM with 2vCPU and 2GB RAM.I have setup nginx server and setup the firewalls permissions as shown in the diagram. When I try to acc

How to save to local storage using Ngrx?

I am trying to save a simple menu state whether it is 'open' or 'close' to the browser localStorage. I know I can do it by using localStorage.setItem. But, my p

Is there a way using store inside a static method?

I need to dispatch an action inside a static function. Is there a way to do this and is it a good practice?

Angular - how do I know which operation has called ngAfterViewChecked()?

Consider a table, the rows of which are built dynamically - i.e. the HTML element contains an *ngIf directive. On different occassions I want to scroll a select

'apiCC.myWebRTC_Adapter.getUserMedia is not a function' apiRTC audio call working on browser but not on android with angular ionic capacitor

I'm using "@angular/core": "~12.1.1", "@ionic/angular": "^6.1.4", and "@apirtc/apirtc": "^4.7.2". I'm implementing an audio call following apiRTC doc and I'm ge

The multi-checker in kendo-grid-column is not displaying items

The items for multi-checker are not displayed when I run the application locally, however, I tried to reproduce the bug on a stackblitz with the exact same situ

Cookies sent from Angular client are null in Spring server

I am setting the cookie in with the command - this.cookieService.set("SessionToken","Niket",20,"null",true,"Lax"); and passing in the interceptor- authReq = re

Generic Events Emitted from Component in Angular ~13

I'm trying to determine if I'm going down an undesirable path with how I'm approaching generic event management in an Angular application. The question I have i

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