anchor.diff:    viewProviders: const [
       MyService,
     ],
  -  // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
  -  visibility: Visibility.all,
   )
   class ChildComponent {
     String value;
  
positive.code:   selector: 'component-reference-binding',
    template: '<p><child #alice></child></p>',
    directives: const [ChildComponent],
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class ComponentReferenceBindingComponent {}
  
  @Directive(
    selector: '[export-dir]',
    exportAs: 'dir',
    // TODO(b/71710685): Change to `Visibility.local` to reduce code size.
    visibility: Visibility.all,
  )
  class ExportDir {}
  
  
negative.code: 
    tearDown(disposeAnyRunningTest);
  
    test('should assign a component to a reference', () async {
      final testBed = new NgTestBed<ComponentReferenceBindingComponent>();
      final testFixture = await testBed.create();
      expect(testFixture.assertOnlyInstance.child,
          new isInstanceOf<ChildComponent>());
    });
  
    test('should assign a directive to a reference', () async {
      final testBed = new NgTestBed<DirectiveReferenceBindingComponent>();
      final testFixture = await testBed.create();
      expect(testFixture.assertOnlyInstance.directive,
          new isInstanceOf<ExportDir>());
    });
  
    test('should assign an element to a reference', () async {
      final testBed = new NgTestBed<ElementReferenceBindingComponent>();
      final testFixture = await testBed.create();
      final div = getDebugNode(testFixture.rootElement.children.first);
  