docs/vendor.js
function appendProjectedNode(node, currentParent, currentView, renderParent) {
    appendChild(currentParent, node.native, currentView);
    if (node.tNode.type === 0 /* Container */) {
        // The node we are adding is a container and we are adding it to an element which
        // is not a component (no more re-projection).
        // Alternatively a container is projected at the root of a component's template
        // and can't be re-projected (as not content of any component).
        // Assign the final projection location in those cases.
        var lContainer = node.data;
        lContainer[RENDER_PARENT] = renderParent;
        var views = lContainer[VIEWS];
        for (var i = 0; i < views.length; i++) {
            addRemoveViewFromContainer(node, views[i], true, node.native);
        }
    }
    if (node.dynamicLContainerNode) {
        node.dynamicLContainerNode.data[RENDER_PARENT] = renderParent;
        appendChild(currentParent, node.dynamicLContainerNode.native, currentView);
    }
}
function appendProjectedNode(node, currentParent, currentView, renderParent) {
    appendChild(currentParent, node.native, currentView);
    if (node.tNode.type === 0 /* Container */) {
        // The node we are adding is a container and we are adding it to an element which
        // is not a component (no more re-projection).
        // Alternatively a container is projected at the root of a component's template
        // and can't be re-projected (as not content of any component).
        // Assign the final projection location in those cases.
        var lContainer = node.data;
        lContainer[RENDER_PARENT] = renderParent;
        var views = lContainer[VIEWS];
        for (var i = 0; i < views.length; i++) {
            addRemoveViewFromContainer(node, views[i], true, node.native);
        }
    }
    if (node.dynamicLContainerNode) {
        node.dynamicLContainerNode.data[RENDER_PARENT] = renderParent;
        appendChild(currentParent, node.dynamicLContainerNode.native, currentView);
    }
}
function appendProjectedNode ( node , currentParent , currentView , renderParent ) { appendChild ( currentParent , node . native , currentView ) ; if ( node . tNode . type === 0 /* Container */ ) { // The node we are adding is a container and we are adding it to an element which // is not a component (no more re-projection). // Alternatively a container is projected at the root of a component's template // and can't be re-projected (as not content of any component). // Assign the final projection location in those cases. var lContainer = node . data ; lContainer [ RENDER_PARENT ] = renderParent ; var views = lContainer [ VIEWS ] ; for ( var i = 0 ; i < views . length ; i ++ ) { addRemoveViewFromContainer ( node , views [ i ] , true , node . native ) ; } } if ( node . dynamicLContainerNode ) { node . dynamicLContainerNode . data [ RENDER_PARENT ] = renderParent ; appendChild ( currentParent , node . dynamicLContainerNode . native , currentView ) ; } }
Appends a projected node to the DOM, or in the case of a projected container,
appends the nodes from all of the container's active views to the DOM.

@param node The node to process
@param currentParent The last parent element to be processed
@param currentView Current LView
Appends a projected node to the DOM or in the case of a projected container appends the nodes from all of the container s active views to the DOM .