Category "angular"

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

bento-ng-d3 not found on registry.npmjs.org and some other bento packages as well, Angular

I have found the following dependency in my angular project package.json file. "@bento/bento-ng":"8.4.1", "@bento/bento-ng-d3":8.4.1, "@bento/bento-ng-datamap":

AWS Cognito | On globalSignOut user is not authenticated

When a user is logging out of AWS Cognito using globalSignOut, I'm getting a "User is not authenticated" error. To authenticate a user I need to pass the auth

Angular component attribute without value nor square brackets

I need to add the isBold property to an Angular component <child-component isBold /> Remark the following I prefer do not use square brackets [] around t

Nebular lags when I use custom theme

So it's my first time using nebular, and I tried to customize it a bit, but whenever I customize it the whole page starts lagging hard, and the reason for that,

Object with Unpredictable Fields in TypeScript Interface

I am working on a web application in Angular and am making the following call to a service return this.http.get<SiteContent>(this.apiUrl + this.endpoint +

Error: Cannot find control with path: 'linkedUrns -> [object Object]'

I'm trying to create a widget which allows the user to enter Unique Reference Numbers (strings) Here is the template for the component: <div class="card