How to add conditional class in Angular using ngClass

To add a conditional class in Angular we can pass an object to `ngClass` where key is the class name and value is condition i.e., true or false… Read more

Similar

A simple logging service for Angular 4

In the previous post, I described two Angular 4 component communication scenarios used to enable sibling component interaction. In this post, I'll walk you through the steps I followed when adding support for a simple Angular 4 logging service that uses d... (more…)

Read more »