Category "angular"

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

WKWebView prevent use Live Broadcast Camera

I am trying to use the angular ngx-webcam library to use the IOS camera via WKWebView, but the camera opens in live broadcast mode and not as I want

Apply css class to a <div> generated by an <ng-template> within the <ngx-datatable-column>

I am trying to apply display: flex property to the parent <div> of my <span> but since the is generated by the ng-template of the ngx-datatable-col

Angular unit test calling readonly BehaviorSubject

I have a angular class implemented ControlValueAccessor interface too. I need to have 100% coverage. Please help me to cover the remain. Line 20, 35, 36 need to

How can i await for file to upload so i can upload next image with params

I am using Drag and Drop file to upload multiple images. ngx-file-drop How to use with async await to upload images because i want to send params to next image