Category "angular"

How to use ${text} interpolation from a variable in Angular?

This question is about ts inline text interpolation in Angular (not template interpolation for the HTML files). I couldn't find relevant information about my qu

Angular Migration Error for Version 13.0.3

I got the following issue while upgrading from Angular 12 to 13.0.3. Using package manager: 'npm' Collecting installed dependencies... Found 79 dependencies. F

How to indicate the specific datapoint on the XY am4chart upon clicking on it?

It may seem really trivial but I haven't been able to find the solution for my problem anywhere. So I have a classic XY am4chart with couple hundreds data point

ionic ble : not able to show the updated ble device name on change

ok so i have created an app using ionic and angular and i want to change the ble device name. For that i am using ionic ble(ble.writeWithNoResponse) ionic-ble g

Angular Node - require not being used

In my Angular 13.x / Typescript 4.x project I have a reference to a node_module @types\prosemirror-schema-list In it the code uses require : I added import Ord

mat-icon text is showing in dropdown and icons in Angular

I tried using mat-icon in Angular in dropdown. But the text is shown first and after clicking dropdown it is showing the icons. I already tried importing in ind

How to show only the latest index data in angular

Brief Explanation Lets say i have Add data button and i have three data A,B and C,when i add the data i wanted to show only the latest data which is added newly

NPM vulnerabilities

When I scan my angular project using npm audit it will show some vulnerabilities. I have found several solution to make them fixed. But my question is what are

How to keep the parent list item open when we click on submenu list item using Angular and jQuery?

I need to show the menus with submenus dynamically. What I did is, I have loaded the menus list from json and displaying that menus using ngFor in angular. Like

How to check type of feature layer loaded on openlayers?

I have used open layer in my project. In which I have added multiple featurelayers on the osm/base map.These layers are overlaping each other.when I click on fe

nginx in Docker - returns "server" directive is not allowed here

I have dockerized an Angular application with the following Dockerfile and nginx.conf. The container works fine in Docker desktop. When deploying in Kubernetes

How to use fontawesome icons in angular 13

Itried using font awesome icons But I can't use it. I imported it in angular.json also but i cn't use it why?

Angular disable cdk-overlay for only one child component

I would like to remove the cdk-overlay which gets generated from the angular material dropdown. I'm using a version of angular material of a company. So I have

Why is the value not assigned to a variable inside forEach in Angular?

how can I have the return of the variable "this.qdDias" assigned a value to it. I don't know why when I use subscribe I can't get the value at the end of the me

Changing background color using ngClass and boolean is not working correctly?

I am trying to check an object coming in a back-end response to see if error.isCritical is true or false and setting the ngClass accordingly, i've tried many di

TS2305: Module '"typeorm"' has no exported member 'Column' with Ionic v6 and angular 12

I recently update Ionic v5 to v6 and angular v10 to v12 then this typeorm error is shown when I run the ionic build command ERROR in src/app/entities/ttAgrupac

How to do a timeline of layers using cesium?

I would like to do a kind of animation using cesium. How do you think is the best way to send getMap request (maybe using webMapServiceImageryProvider) and save

How to display a value in mat-select without being inside mat-option?

In my case I'm using a formcontrolName with the mat-select. I would like to display a value on the mat-select, but not inside the dropdown list of options : <

How do we load an angular component's styles into an iframe?

I'm working on a component that renders other components into an iframe. It renders successfully however I noticed the styles aren't being passed into it. I tr

LitElement in Angular 8 - error TS1005: ';' expected. TS1128: Declaration or statement expected

i am trying to use a litElement Webcomponent inside an Angular 8 Webapplication. I think i followed all instructions correctly to integrate a webcomponent insid