docs/vendor.js
function locateHostElement(factory, elementOrSelector) {
    ngDevMode && assertDataInRange(-1);
    rendererFactory = factory;
    var defaultRenderer = factory.createRenderer(null, null);
    var rNode = typeof elementOrSelector === 'string' ?
        (isProceduralRenderer(defaultRenderer) ?
            defaultRenderer.selectRootElement(elementOrSelector) :
            defaultRenderer.querySelector(elementOrSelector)) :
        elementOrSelector;
    if (ngDevMode && !rNode) {
        if (typeof elementOrSelector === 'string') {
            throw createError('Host node with selector not found:', elementOrSelector);
        }
        else {
            throw createError('Host node is required:', elementOrSelector);
        }
    }
    return rNode;
}
function locateHostElement(factory, elementOrSelector) {
    ngDevMode && assertDataInRange(-1);
    rendererFactory = factory;
    var defaultRenderer = factory.createRenderer(null, null);
    var rNode = typeof elementOrSelector === 'string' ?
        (isProceduralRenderer(defaultRenderer) ?
            defaultRenderer.selectRootElement(elementOrSelector) :
            defaultRenderer.querySelector(elementOrSelector)) :
        elementOrSelector;
    if (ngDevMode && !rNode) {
        if (typeof elementOrSelector === 'string') {
            throw createError('Host node with selector not found:', elementOrSelector);
        }
        else {
            throw createError('Host node is required:', elementOrSelector);
        }
    }
    return rNode;
}
function locateHostElement ( factory , elementOrSelector ) { ngDevMode && assertDataInRange ( - 1 ) ; rendererFactory = factory ; var defaultRenderer = factory . createRenderer ( null , null ) ; var rNode = typeof elementOrSelector === 'string' ? ( isProceduralRenderer ( defaultRenderer ) ? defaultRenderer . selectRootElement ( elementOrSelector ) : defaultRenderer . querySelector ( elementOrSelector ) ) : elementOrSelector ; if ( ngDevMode && ! rNode ) { if ( typeof elementOrSelector === 'string' ) { throw createError ( 'Host node with selector not found:' , elementOrSelector ) ; } else { throw createError ( 'Host node is required:' , elementOrSelector ) ; } } return rNode ; }
Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.

@param elementOrSelector Render element or CSS selector to locate the element.
Locates the host native element used for bootstrapping existing nodes into rendering pipeline .