Example app from the book Pro AngularJS - Adam Freeman