Edupala

Comprehensive Full Stack Development Tutorial: Learn Ionic, Angular, React, React Native, and Node.js with JavaScript

Angular

How to add Angular phone number format?

In this tutorial, we’ll learn how to add Angular phone number format to add Angular international phone number on input. We’ll demonstrate two examples of Angular phone numbers using Bootstrap, a material design library, and demonstrate an example of an Angular international phone number with a flag on input. We can use the ngx-intl-tel-input library […]

How to implement Angular route guard – auth Guard

An Angular allows us to protect routes with guards. An angular Route guard is a way of protecting navigation by allowing or denying a route based on the condition we supply. The most commonly used angular route guard types are CanActivate and CanDeactivate. Angular has several guard interfaces that allow us to mediate navigation to […]

Angular dynamically add and remove CSS Classes using ngClass | custom directive

In this tutorial, we will learn and demonstrate a dynamically Angular add and remove class on the host element based on specific conditions using a custom directive and ngClass directive. We have two objectives in this tutorial, first what is ngClass directive, and how we can bind the Angular dynamic class using the ngClass directive. […]

Scroll to top