What is ngClass directive in AngularJS?
Answer / Shekher Singh Bharti
The ngClass directive in AngularJS allows you to set CSS classes dynamically on an HTML element based on the expression provided. The expression evaluates to a string, and the string should consist of names of classes separated by spaces.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is jws and jwe?
How to validate data in angular js?
How can the spa be implemented in angularjs?
What is a template in angularjs?
Explain ng-app directive in angular.
What is * ngfor?
How to create & call angular 2 services in components?
What are angular directives used for?
What is tree shaking in angular?
How do we create a singleton service in angular 2?
What would you do to limit a scope variable to have one-time binding?
What are events binding in angular 4?