How to call angular function when click p-dialog close(X) button? I have searched and just tried this (onHide)="cancel()" . But it's not working. Kindly sha
I am using Angular to develop my website. And I wanna set a BASE_API for my project depends on prod or dev. Therefore, I add some code in environment export
The configuration of the Angular app is the challenging part. During our publishing Job in Azure Yaml pipeline, we execute a "token" replacement to match the ta
How can i update dateClass manually in a function? datepicker HTML <mat-datepicker [dateClass]="dateClass" #picker fxLayoutAlign="start start"
I know it must be something very simple, but cannot figure it today - Monday :) so, I have a directive for a responsive table import {Directive, HostListener}
I'm trying to pre-render my Angular 13 application. The command which I'm running is: ng run ipe:prerender --routes-file ./data/routes.txt The error that occur
I dont understand why do I always see statusText as OK for StatusCode 401, whereas expecting "Unauthorized" for 401. Below is my code snippit. Please help me to
I'm using optional chaining on an object which in turn gives this error after compiling the code For example const someObj = {pet_animals: {'dog', 'cat'}}; cons
so today I wanted to create a new Angular project using the command ng new <projectname> and I got this error: npm ERR! ERESOLVE unable to resolve depende
I am developing a web client with angular 7 and bootstrap. On my start page I have a form group with three input fields and a submit button which shall be disab
I want to render html template by giving url in Angular2, But template is not loading. I am using visual studio code editor, Below is my code and structure.
I have an ES6 module where I am exporting a library. I want to be able to use this module in an Angular component. I cannot have the library files locally withi
I have an ES6 module where I am exporting a library. I want to be able to use this module in an Angular component. I cannot have the library files locally withi
util.isNullOrUndefined(object) has been depreciated and I cannot find any alternative for it. Can someone point out a feasible alternative for it? if (isNullOr
I'm attempting to implement a map component with leaflet and other leaflet plugins. The issue is other plugins don't work from TypeScript for some reason. For
I have now looked through various questions & answers here, but cannot find a solution. The login and its redirect work perfectly. Only when I log in, I alw
I guys, I'm having a problem using ngDestroy. I need to call a "stop" method on a object initialized during ngInit, but when ngDestroy is called this object is
I'm trying to implement a custom directive in Angular 2 for moving an arbitrary HTML element around. So far everything is working except that I don't now how to
I'm trying to implement a custom directive in Angular 2 for moving an arbitrary HTML element around. So far everything is working except that I don't now how to
In our Angular-7-Application, we use @ngrx and @ngrx/router-store to get the query params into the state. A few components of the application are paginated lis