Angular detect if the page is changed

import { NavigationEnd, Router } from '@angular/router'; this._router.events.subscribe((event) => { ...
Read More ⟶

Validate URL for image with valid extension

This function will allow you to validate any image url that ends with either jpeg, jpg, gif or png. function...
Read More ⟶

Angular Lifecycle Hooks

In this article, we will know about the lifecycle of Angular components. Since, in Angular, a component is the main...
Read More ⟶

setValue() And patchValue() In Angular 2

From angular two with reactive form its very easy to update the form controls value via these two method. Both perform...
Read More ⟶

Incremental DOM with IVY in Angular

Incremental DOM is used internally at Google, and it is defined by this key idea: Every component gets compiled...
Read More ⟶

What is Injectable decorator?

Injectable decorator (@Injectable) marks a class as available to Injector for creation. import { Injectable } from...
Read More ⟶

Singleton service in Angular

There are two ways to make a service a singleton in Angular: Set the providedIn property of...
Read More ⟶

A gentle introduction into tree shaking in Angular Ivy

First, let’s understand a few key terms and I will also include references to articles if you need a deeper...
Read More ⟶

Angular Material dialog send data on close dialog

I am just writing a small code that will help fellow developers to pass an object after the dialog is...
Read More ⟶

@Decorators available in Angular

@Decorators are a design pattern that is used to separate modification or decoration of a class without modifying the...
Read More ⟶