anchor.diff:        CompileDirectiveMetadata compMeta,
         List<ast.TemplateAst> filteredAst,
         AstExceptionHandler exceptionHandler) {
  -    final visitor = _BindDirectivesVisitor(flags.i18nEnabled);
  -    final context = _ParseContext.forRoot(TemplateContext(
  -        parser: parser,
  -        schemaRegistry: schemaRegistry,
  -        directives: removeDuplicates(directives),
  -        exports: compMeta.exports,
  -        exceptionHandler: exceptionHandler));
  +    final visitor = _BindDirectivesVisitor();
  +    final templateContext = TemplateContext(
  +      parser: parser,
  +      schemaRegistry: schemaRegistry,
  +      directives: removeDuplicates(directives),
  +      exports: compMeta.exports,
  +      exceptionHandler: exceptionHandler,
  +    );
  +    final context = _ParseContext.forRoot(templateContext, flags.i18nEnabled);
       return visitor._visitAll(filteredAst, context);
     }
   
  
positive.code: /// compiler types, which includes transformation of internationalized nodes.
  class _BindDirectivesVisitor
      implements ast.TemplateAstVisitor<ng.TemplateAst, _ParseContext> {
    /// Whether internationalization of `@i18n`-annotated nodes is supported.
    final bool i18nEnabled;
  
    /// A count of how many <ng-content> elements have been seen so far.
    ///
    /// This is necessary so that we can assign a unique index to each one as we
    /// visit it.
    int ngContentCount = 0;
  
    _BindDirectivesVisitor(this.i18nEnabled);
  
    @override
    ng.TemplateAst visitElement(ast.ElementAst astNode,
        [_ParseContext parentContext]) {
      final elementContext =
          _ParseContext.forElement(astNode, parentContext.templateContext);
      final i18nMetadata =
          _parseI18nMetadata(astNode.annotations, parentContext.templateContext);
      final attributes = <ast.AttributeAst>[];
      final i18nAttributes = <ng.I18nAttrAst>[];
      for (final attribute in astNode.attributes) {
        if (i18nMetadata.forAttributes.containsKey(attribute.name)) {
          final metadata = i18nMetadata.forAttributes[attribute.name];
  
negative.code:         elementContext.boundDirectives,
          [] /* providers */,
          null /* elementProviderUsage */,
          _visitChildren(astNode, elementContext),
          _findNgContentIndexForElement(astNode, parentContext),
          astNode.sourceSpan);
    }
  