Summary
Congratulations! We accomplished quite a few things in this chapter!
We learned about the Facebook Social Graph and the Graph APIs. We saw how to use the Graph Explorer tool, which is a really good tool for better understanding the various features of the Graph API.
We saw how Facebook login works and how to request additional permissions when you need to access data that is beyond the default dataset.
We saw what directives were and why they are so useful in integrating external plugins into our AngularJS application. We saw the various options in the directive and how they function.
Last but not least, we got a brief understanding of how AngularJS updates the data from the model in the views using $watch
during the $digest
loops and how $apply
is used to trigger a $digest
loop.
In the next chapter, we'll see how to build a responsive mobile application by making use of some nifty HTML5 features.