Examples from the book <AngularJS> from O'REILLY