Chapter 3. AngularJS Scopes, Controllers, and Filters

The goal of this chapter is to understand AngularJS's scope object as well as controller and its use in AngularJS. The chapter starts with a brief description of the purpose of the scope object in AngularJS and its use. We will also cover AngularJS's built-in filters and how to develop a custom filter.

This chapter is organized as follows:

  • Understanding AngularJS's scope object
  • AngularJS's scope object's lifecycle
  • Understanding AngularJS controllers and its use:
    • Controller inheritance
  • Understanding the AngularJS built-in filter and learning how to develop a custom filter

Understanding the scope of AngularJS

In AngularJS, scope is an object that refers to AngularJS applying the model. Scope is an execution ...

Get Mastering AngularJS for .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.