1.

List out the scope characteristics in AngularJS?

Answer»

Scope object has 5 IMPORTANT characteristics.

  • It provides the application with a context against which the AngularJS expressions are evaluated.
  • It provides an option to observe the model CHANGES WITHIN them using the $WATCH watcher service.
  • The scope objects provide APIs like $apply that help in propagating the model changes throughout the application into the view from the sources like controllers, services, or VARIOUS AngularJS event handlers.
  • Scope objects inherit the parent properties and provide access to shared model properties.
  • Scopes can even be nested to isolate directives and various AngularJS components.


Discussion

No Comment Found