22. Implementing the Scope as a Data Model

One of the most important aspects of an AngularJS application is scope. Scope not only provides the data represented in a model but also binds together all the other components of the AngularJS application, such as modules, controllers, services, and templates. This chapter explains the relationships between scope and other AngularJS components.

Scope provides the binding mechanism that allows DOM elements and other code to be updated when changes occur in the model data. In this chapter you will learn about scope hierarchies and how to communicate between them via events.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.165.101