The part 2 examples of the very good book Pro AngularJS by Adam Freeman.http://www.apress.com/9781430264484