Examples from the AngularJS O'Reilly book