code: 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;
  }
docs: Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.
  
  @param elementOrSelector Render element or CSS selector to locate the element.