“Git revert” VS “Git reset”
The purpose of the git revert command is to remove all the changes a single commit made to our source code repository.…
Design – Plan – Write
The purpose of the git revert command is to remove all the changes a single commit made to our source code repository.…
Let us assume, we have a custom Angular component that acts as a form control and we want to subscribe…
Let us assume, we have a custom Angular component that acts as a form control and we want to enable…
Last month marked the 13th anniversary of Angular’s red shield. AngularJS was the starting point for a new wave of…
The calc() function in CSS allows us to perform mathematical calculations directly in CSS expressions. It can be used to…
To configure the Router, we pass the with* feature provider factories to the provideRouter function. The first argument passed must be Routes while subsequent arguments are 0..n…
To lazy load a component, let us add a loadComponent property to a Route object. The value is a function that returns a dynamic import statement…
The standalone component approach differs from using the NgModule approach the moment we want to bootstrap. With NgModule, this is done via a bootstrapModule function…