code: function getRootView(component) {
      ngDevMode && assertDefined(component, 'component');
      var lElementNode = _getComponentHostLElementNode(component);
      var lViewData = lElementNode.view;
      while (lViewData[PARENT]) {
          lViewData = lViewData[PARENT];
      }
      return lViewData;
  }
docs: Retrieve the root view from any component by walking the parent `LViewData` until
  reaching the root `LViewData`.
  
  @param component any component