The journey has started and we have reached the first milestone. Despite this chapter being entitled Getting Started, we have covered a lot of concepts that will be necessary for us to know so as to understand the bigger picture. Our learning was derived from our Guess the Number! app that we built and dissected throughout the chapter.
We learned about the MVC triad starting from the model and designed the model for our Guess the Number! app. We learned how to expose the model over the scope object and how the model drives the view in AngularJS.
We explored the view part of MVC and designed our view. We learned more about AngularJS binding and understood the live nature of these bindings. We explored the new AngularJS view constructs: interpolations and directives, and understood the role expressions play in the framework.
The last MVC element was the controller. We learned about the AngularJS controller and how it works in close sync with the view to provide the necessary behavior. One important consideration that came out of this discussion was that the controller does not directly refer the view or manipulate it.
Once we had a good understanding of AngularJS and the MVC component, we focused our efforts on learning about scopes. We learned how the scope is the glue between the view and the model. We saw scope objects defined inside our game and how changes in the model and view are synced by the framework.
To round things off, we learned about a very important process in AngularJS: app bootstrapping. By exploring the bootstrap process, we were able to connect the dots and answer a number of questions that related to scopes, binding, and app initialization itself.
The groundwork has been done and now we are ready for some serious app development on the AngularJS framework. In the next chapter, we will start working on a more complex exercise and expose ourselves to a number of new AngularJS constructs.