refactor(ch07): simplify code
refactor(ch07): simplify code

see https://github.com/angular/angular.dart.tutorial/pull/92#discussion-
diff-10179304

vicb/angular.dart.tutorial,dart-archive/angular.dart.tutorial,dart-archive/angular.dart.tutorial,dart-archive/angular.dart.tutorial,vicb/angular.dart.tutorial