Following pluralsite's tutorial on AngularJS