anchor.diff:  // #docregion
  -import 'dart:convert';
  -
   import 'package:angular2/core.dart';
   
   class Hero {
  
positive.code:   }
    // #enddocregion ng-do-check
  
    // Copied from OnChangesComponent
    ngOnChanges(Map<String, SimpleChange> changes) {
      changes.forEach((String propName, SimpleChange change) {
        String cur = JSON.encode(change.currentValue);
        String prev =
            change.isFirstChange() ? "{}" : JSON.encode(change.previousValue);
        changeLog.add('$propName: currentValue = $cur, previousValue = $prev');
      });
    }
  
    void reset() {
      changeDetected = true;
      changeLog.clear();
  
negative.code:       '.hero {background: LightYellow; padding: 8px; margin-top: 8px}',
        'p {background: Yellow; padding: 8px; margin-top: 8px}'
      ])
  class DoCheckComponent implements DoCheck {
    @Input()
    Hero hero;
    @Input()
  