AngularJS Question:

What are the characteristics of "Scope"?

AngularJS Interview Question
AngularJS Interview Question

Answer:

► To observer model mutations scopes provide APIs ($watch).
► To propagate any model changes through the system into the view from outside of the Angular realm.
► A scope inherits properties from its parent scope, while providing access to shared model properties, scopes can be nested to isolate application components.
► Scope provides context against which expressions are evaluated.


Previous QuestionNext Question
What are the styling form that ngModel adds to CSS classes?What is dependency injection in AngularJS?