I am currently implementing an ASP.NET Core app with Angular as described here. With the help I got in this question, I was already able to get the application
I have these two guards @Injectable({ providedIn: 'root' }) export class DesktopGuard implements CanActivate { constructor( private router: Router, p
Here is a simple select: <select [(ngModel)]="..." name="..." id="..." required ...> <option *ngFor="let o of options" [ngValue]="o.value">{{o.l
I am using ngb pagination in my angular project. I have a table that shows 5 records per page and in that table i have a column named view. After clicking on vi
I am facing issues while automating Spartacus angular application using selenium java. Selenium is not waiting for all angular requests to complete. As the requ
I am using ngb pagination in my angular project. I have a table that shows 5 records per page and in that table i have a column named view. After clicking on vi
I've made an implementation of a login system using django as backend and angular as frontend. In the backend the authentication is implemented via the view ass
I want to be able to scroll to a target when a button is pressed. I was thinking something like this. <button (click)="scroll(#target)">Button</button&
I wanted to change from a default Angular Material color scheme to a custom one. My problem is, when I did, the MatInput field stopped showing the blinking curs
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.