Added a few examples from the AngularJS book (chapter 2)