- Why AngularJS?
- Understanding AngularJS
- An Overview of the AngularJS Life Cycle
- Separation of Responsibilities
- Integrating AngularJS with Existing JavaScript and jQuery
- Adding AngularJS to Your Environment
- Bootstrapping AngularJS in an HTML Document
- Using the Global APIs
- Creating a Basic AngularJS Application
- Using jQuery or jQuery Lite in AngularJS Applications
- Summary
Summary
AngularJS is a JavaScript library framework that provides a very structured method for creating websites and web applications. AngularJS structures a web application into a very clean MVC-styled approach. AngularJS scopes provide contextual binding to the data model for the application and are made up of basic JavaScript objects. AngularJS utilizes templates with directives that extend HTML capabilities, enabling you to implement totally customized HTML components.
In this chapter you looked at the different components in an AngularJS application and how they interact with each other. You also learned about the life cycle of an AngularJS application, which involves bootstrap, compilation, and runtime phases. At the end of this chapter, you walked through a step-by-step example of implementing a basic AngularJS application, including a template, module, controller, and scope.