Working through the Angularjs1.pdf from Sitepoint