examples from "ProAngularJS" by Adam Freeman -> http://www.apress.com/9781430264484