O'Reilly logo

Mastering AngularJS for .NET Developers by Mohammad Wadood Majid, Golrokh Mirzaei

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we discussed the AngularJS scope object. Scope is an execution context for expression. AngularJS scopes are organized in a data structure that mimics the DOM structure of the applying model. Scope is the glue between the application controller and view. We also covered AngularJS's scope inheritance. Each application in AngularJS has one root scope, but may have several child scopes. The AngularJS application can have multiple scopes because some AngularJS directives create their own child scope. In the AngularJS scope lifecycle section, we discussed how scope's lifecycle works. When the browser calls the JavaScript, it executes outside the AngularJS framework execution environment, which suggests that AngularJS is unaware ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required