Category:: Angular 2

How to Apply CSS Classes Conditionally in Angular 2

Angular 2 provide different ways to apply class to the elements based on certain conditions. In this post I would like to show you couple of ways to conditionally applying class to a DOM element in Angular 2 with ngClass. […]