Angular JS tutorial from http://docs.angularjs.org/tutorial.