anchor.diff:  @Component(
     selector: 'mycomp-with-cd-exception-onelement',
     template: '<div [title]="one.two"></div>',
  -  // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
  -  visibility: Visibility.all,
   )
   class MyCompWithCdExceptionOnElement {
     SomeModel one = new SomeModel('initial value');
  
positive.code:         'should provide an error context when an error happens in an '
          'event handler', () async {
        var testBed = new NgTestBed<MyCompWithEventException>();
        MyCompWithEventException comp;
        var fixture = await testBed.create(
            beforeChangeDetection: (MyCompWithEventException component) {
          comp = component;
        });
        DebugElement debugElement = getDebugNode(fixture.rootElement);
        DirectiveEmittingEvent directive =
            debugElement.children[0].inject(DirectiveEmittingEvent);
        await fixture.update((MyCompWithEventException component) {
          directive.fireEvent('boom');
        }).catchError((e) {
          expect(e.toString(), contains('exceptionOnEventSample'));
        });
        expect(comp.eventHandlerCalled, true);
      });
      test(
          'should specify a location of an error that happened '
  
negative.code: @Component(
    selector: 'throwing-component2',
    template: '',
  )
  class ThrowingComponent2 {
    ThrowingComponent2() {
  