ES6 Port of Angular.dart change detection code.