AngularJS class example code, #7