How to use the CSS calc() function to optmise our stylesheet
The calc() function in CSS allows us to perform mathematical calculations directly in CSS expressions. It can be used to…
Design – Plan – Write
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…
The Angular CLI can run unit tests and create code coverage reports. Code coverage reports show us any parts of…
If you have experience in creating a web application, you will likely be acquainted with console.log(…), a method used to…
Since Angular 14/15, there has been an alternative way to inject dependencies into our Angular applications. Using inject, we can…
JSON Web Tokens (JWTs) are a common format for transferring information between different parts of an application. Angular is a…
In Angular, directives are defined as classes that can add new behavior to the elements in the template or modify…
Server side Rendering (SSR) is a modern technique to convert a Single Page Application (SPA) running in the browser into…