Following the angularJS tutorial at http://docs.angularjs.org/tutorial/