Category: Frameworks

How to fix can’t bind to ‘routerLink’ since it isn’t a known property!

In the last article, we solved the router outlet problem. Another error related to routing may appear which is can’t bind to ‘routerLink’ since it isn’t a known property. What is routerLink in Angular? The RouterModule of Angular is a big Module that contains many built-in directives. One of them…

continue reading

How to fix router-outlet is not a known element!

First, before fixing that famous error, we want to define and go a little in-depth with router-outlet, the definition why we use it, the error of router-outlet is not a known element! and how to fix it. What is router-outlet (Routing outlet) in angular? router outlet or router-outlet is a…

continue reading

How do you determine the active route in angular?

For some reasons, you want to determine the active route in Angular project. That’s why, the powerful Angular Router implements some built-in classes, that help us easily get the current route path. How do you determine the active route in angular? The steps are too easy : Import Router,NavigationEnd from…

continue reading

How to add Angular Interceptor. Set Headers for every Request.

You may ask yourself how to add Some headers for every Request that is outcoming from Angular. The the most famous case is when adding some authorization, We are supposed to add a token to the backend request. The traditional way to do that is to set the Authorization Headers…

continue reading

How to add routing to existing Angular project

You may work on an Angular project which does not contain a routing file, Or while creating a new Angular Project with ng new command, you forget to set routing config. So how to do to add routing to an existing Angular project automatically without adding the file manually. How…

continue reading

[Angular2+] How to fix can’t bind to ‘formgroup’ since it isn’t a known property of ‘form’

While working with FormGroup Angular API, you will write a code like this But Sadly, once you compile you will get an error like this can’t bind to ‘formgroup’ since it isn’t a known property of ‘form’. How to fix can’t bind to ‘formgroup’ since it isn’t a known property…

continue reading

Your full Guide to Master Angular standalone components!

If You are Following Angular Community, You may encounter many people talking About Angular V14 new Release and its revolutionary standalone components feature. So let’s go in-depth with the Angular standalone components feature, the use cases, and the benefits of using it. What is the Angular standalone components feature? So,…

continue reading

How to use ngIf directive in Angular?

We discovered the Angular ngFor directive before, and it’s time to discover another structural directive in Angular which is ngIf directive. If worked before with AngularJS, you surely have used ng-if directive. The concept is the same for the two frameworks. We are handling DOM Elements either by adding HTML…

continue reading

Angular ngFor directive. The Angular HTML loop (Your full Guide)

We consisted on Why you should learn Angular? Everything you need to know on the obligation of acquiring some minimal knowledge before starting learning Angular. So, if you are familiar with Javascript you evidently know how to use javascript forEach(). But, Suppose that we are having a repetitive HTML block…

continue reading

Let’s discover Angular Components! Everything you need to know

You may be reading our last article about how to start learning Angular and we gave some basic concepts. The first one to discover is Component. We shared the starting point for Angular components and their compositions files. So, what is an Angular component? How it really works? what is…

continue reading

Pin It on Pinterest