Angular dynamic classes using ngClass
Yesterday, we looked at dynamic form fields, and it made me think about custom classes in Angular. You might want to add class1 based on a condition or class2 if the condition is not met. How can we achieve such a thing? Well, that is where the ngCla...






