June 2014
Intermediate to advanced
696 pages
38h 52m
English
AngularJS introduces the concept of a module representing components in an application. The module provides a namespace that allows you to reference directives, scopes, and other components based on model name. This makes it easier to package and reuse parts of an application.
Each view or webpage in AngularJS has a single module assigned to it via the ng-app directive. (Directives are discussed later in this chapter.) However, you can add other modules to the main module as dependencies, which provides a very structured and componentized application.
Read now
Unlock full access