AngularJS example from Scott Allen's course on Pluralsight