Edupala

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

angular custom directive

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. […]

How to use and create angular custom directive?

The angular custom directive allows us to create our own directive, which is specific to our application needs, even though the Angular built-in directive provides the most common task needed for the web application. Angular provides a good range of built-in directives. We can also create our own directives to solve problems that are specific […]

Scroll to top