Category "angular"

How to escape HTML character in angularjs. I have read using ng-blind / ng-sanitize to escape Html, but not able to implement it

I am new to Angular Js. I have used ngx-editor to make text-area with different formatting Styles. When I am submitting the content I am getting HTML tags alon

How to mock interface with Jest without creating an instance

I know we can do it in Kotlin but I did not find it with Jest. I have complex interfaces and array of those interfaces and I do not want to specify all values o

How to publish external Angular folder with my asp.net core project?

I have created an Asp net core api with an external angular project, the app works well in debug mode and I want to publish the two apps in same folder, but the

Angular CDK understanding the overlay position system

I'm really trying to understand the overlay position parameter but without any luck. I also can't find any documentation about this topic. What does the follow

Error with npm install - a pre-gyp error

I wanted to install this angular 2 calendar using npm. Tried to use npm to install it and then downloaded it and tried to install it. In both cases its failed.

angular material .textarea don't update follow variable

I tried to upload the Textfile into Textarea and edit it, but whenever I type and then upload it. Textarea will not update the contents of the files from the t

Angular2+ render a component without any wrapping tag at all

My child-component looks like: ... @Component({ selector: '[child-component]' templateUrl: './child.template.html' }) ... and my parent template like

Angular material: snackbar is hidden behind component with high z-index

So I'm playing around with Angular a bit and I wanted to add material snackbar to my app for when there's an error in my app. So, I have my hompage and my nav

How to make the date input mask in angular?

I am trying to make the input date of birth mask in angular and format of date is dd/mm/yyyy ,but it not set and return the input according to our requirement

Create backdrop of Material Design for Angular [closed]

I'm starting a new project with Angular 13 and Angular Material. I want to use a Backdrop element like it is defined in Material Design (Mater

Angular FormArray display validation errors

I have Angular form that is built with help of FormBuilder. Form contains a FormArray which has as many fields as user wants. I've set validator for fields this

Updating Apexchart series on daily bases in angular

I am using apexchart but cannot know how to use updateseries I have tried directly sending the values HTML <apx-chart [chart]="{ ty

Copy and select the text from ag-grid

I am using the Ag-grid in my project. after came far i got to know that text inside the grid user not able to select. Is there any help i can get to select and

how to pass data from angular material dialog to parent component?

I'm using angular 6 and I have a button which opens a dialog. in my dialog, I have a form that gets user's data and then I have two buttons to submit and cancel

Angular 10 “No definition found for …” in HTML component in Visual Studio Code

I'm working with angular 10 in VSCode and everything was working fine until today. Suddenly I can't go to definition from HTML component neither via F12, right

Connecting to angular and springboot app from external IP

First of all, thanks for taking your time in reading this. I have a Spring boot backend running locally and angular app making calls to this backend to to do CR

Angular Bootstrap dynamic dropdown menu overlaping

I am trying to develop a dynamic menu with angular and bootstrap for angular. Specifically, I have been able to get the menus and submenus to display on the pag

Why is ngOnInit called twice?

I trying to create new component, ResultComponent, but its ngOnInit() method is getting called twice and I don't know why this is happening. In the code, Result

Grammatically correct plural / singular endings

Using a for loop, I have created a counter for late items by looping through items retrieved in a web request, setting a property of late as true if conditions

How allow multiple search with ngx-datatable

I'm using this https://github.com/swimlane/ngx-datatable/blob/master/demo/basic/filter.component.ts to help me create a search in my table. My goal is to creat