anchor.diff:          compileElement,
           ast.variables,
           view.deferredModules,
  -        isInlined: isSimpleNgIf);
  +        isInlined: isPureHtml);
   
       // Create a visitor for embedded view and visit all nodes.
       var embeddedViewVisitor = new ViewBuilderVisitor(
           embeddedView, parser, stylesCompileResult,
  -        isInlinedView: isSimpleNgIf);
  +        isInlinedView: isPureHtml);
       templateVisitAll(
           embeddedViewVisitor,
           ast.children,
  
positive.code:             embeddedView.declarationElement);
      nestedViewCount += embeddedViewVisitor.nestedViewCount;
  
      if (!isSimpleNgIf) {
        compileElement.beforeChildren(false);
      }
      _addRootNodeAndProject(compileElement, ast.ngContentIndex, parent);
      if (!isSimpleNgIf) {
        compileElement.afterChildren(0);
      }
      if (ast.hasDeferredComponent) {
  
negative.code:       .add(o.fn(arguments, statements, o.BOOL_TYPE).toDeclStmt(name));
  }
  
  final _pureHtmlVisitor = new IsPureHtmlVisitor();
  
  bool _isPureHtml(EmbeddedTemplateAst ast) {
    if (ast.directives.length != 1) return false;
    var isNgIf = ast.directives.single.directive.identifier.name == 'NgIf';
    if (!isNgIf) return false;
  
    return ast.children.every((t) => t.visit(_pureHtmlVisitor, null));
  }
  
  /// Constructs name of global function that can be used to update an input
  