Category "angular"

Template Parse Error: 'mat-sidenav-container' is not a known element, and about router-outlet, ngif

I used angular13. and Vs code. 'mat-sidenav-container' is not a known element Property binding ngIf not used by any directive on an embedded template. Make sure

How to downgrade node version?

I want to downgrade my version using npm. The current version is 16.13.1. I want to downgrade this to 12.0.1. Can anyone tell me how to do it? Thanks!

Why is the imported Angular/TypeScript model not properly mapping over to my service in Angular application?

I am designing a system that tracks mutual fund information entered manually by the user, and am having difficulties getting the application to properly read th

Clear trailing spaces after pasted number in Angular

How do we strip out spaces at the end of the 10digit number when user copies it from place (like email or word docs etc) and pastes it in the search bar? But th

Tailwind with Angular 13

when I run : ng add @ngneat/tailwind I got this error: An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID !!!!!! VSCode. An

Sending Form error: TypeError: this.form.get is not a function

I need your help. I have a small piece of code with which I want to send my fields to the backend. There are no errors in the code, I get the object in the data

File upload in angular 11

I am starting on angular 11 and am trying to upload a file or multiple files as a post request to my back end API ( that I created in node.js ) Here is the code

Angular and .Net Core Project VS 2022: An unhandled exception occurred: Project 'Leon\AppData\Roaming\ASP.NET\https\<projectName>.pem' does not exist

Hello I am building an Angular/.Net Core project and creating the projects by following Microsoft's suggestion, https://docs.microsoft.com/en-us/visualstudio/ja

ERROR Failed to load resource: the server responded with a status of 403 () en angular

Errors I get ERRORES: Failed to load resource: the server responded with a status of 403 () login:1 Access to XMLHttpRequest at 'http://localhost:8080/l

Angular Youtube Player - Fit to 100% height

I use the Youtube Angular pakacge in my Angular 11 project. I would like to fill the player to 100% of the divs height, which is a TailWind h-full div: <div

Using Angular Validators to create a restriction of 6-12 characters, but NOT of length 9

I am trying to create a Angular Validator that allows me to validate a string of both letters and characters of lengths 6-12 inclusive, but not of length 9. I h

Angular combinelatest using subject without initial value

I am using Angular RXJS, I have multiple Behavior Subjects, My problem is: I want the posts$ stream to emit initially without setting a value for the category f

Cannot read property 'CUCUMBER_PUBLISH_ENABLED' of undefined

I have the error Cannot read property 'CUCUMBER_PUBLISH_ENABLED' of undefined when trying to execute my e2e test using cucumber in my angular project. Please do

nx dep-graph not showing any relations

I have this Angular/NestJS monorepo powered by NX, and I decided to make better use of NX by organising more stuff into libs, but before I do so, I want to make

npm install returns syscall spawn git error

I've tried to run npm install and faced these issues below I've tried to clear cache with force command, install git and update node but nothing worked here i

Angular recompiles forever on new computer

I got a new computer and installed Visual Studio code, and got my projects from our git repository. Next npm install, and then a test. It compiles and works. De

Anglar 13 route guard (canActivate) only works on first page load

Solution found - since the solution is much shoerter than the problem, I add it here: The problem was not the guard (even though I optimized the guard by using

Override done button functionality inappbrowser

Is it possible to override done button functionality? i need to just hide inappbrowser on done button as when show same the last visit url next time.

When is useful to use a custom directive in Angular?

In the angular docs there's an example of how to build a custom directive that hightlights a paragraph (or any HTML element where this directive is applied) on

Weird question mark in url when I change page using this.router.navigateByUrl or this.router.navigate

Using Angular 12 I'm trying to do a simple navigation using this.router.navigateByUrl or this.router.navigate. I don't know why but in one case, after the navig