code: function viewParentEl(view) {
      var parentView = view.parent;
      if (parentView) {
          return view.parentNodeDef.parent;
      }
      else {
          return null;
      }
  }
docs: for component views, this is the host element.
  for embedded views, this is the index of the parent node
  that contains the view container.