Following along with the official tutorial at http://docs.angularjs.org/tutorial.