code: function getRootContext(component) {
      var rootContext = getRootView(component)[CONTEXT];
      ngDevMode && assertDefined(rootContext, 'rootContext');
      return rootContext;
  }
docs: Retrieve the root context for any component by walking the parent `LView` until
  reaching the root `LView`.
  
  @param component any component