Understanding Scopes

In AngularJS, the scope acts as a data model for an application. It is one of the most critical parts of any application that relies on data in any fashion because it acts as the glue that binds together the views, business logic, and server-side data. Understanding how scopes work enables you to design your AngularJS applications to be more efficient, use less code, and be easier to follow.

The following sections discuss the relationships between scope and applications, controllers, templates, and server-side data. There is also a section that covers the life cycle of scope, to help you see how scope is built, manipulated, and updated during the application life cycle.

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

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