AngularJS Question:

What are the styling form that ngModel adds to CSS classes?

AngularJS Interview Question
AngularJS Interview Question

Answer:

ngModel adds these CSS classes to allow styling of form as well as control:

► ng- valid
► ng- invalid
► ng-pristine
► ng-dirty


Previous QuestionNext Question
What is factory method in angular.js?What are the characteristics of "Scope"?