Summary
To summarize what we have done in this chapter; we have walked through the basics of building an AngularJS app and familiarized ourselves with the basic concepts used in AngularJS. We have made use of ng-app
, ng-controller
, ng-click
, ng-repeat
, and ng-submit
in general. These expressions, such as ng-click
and ng-submit
are typically mapped onto JavaScript functions defined in AngularJS controllers, as seen in todo.js
in our example. Notice how little code we have written in order to achieve such speedy UX through the concept of two-way data-binding and its controllers.
In the next chapter, we will start to port this app in a more organized manner to PhoneGap.