code: function getOrCreateElementRef(di) {
      return di.elementRef || (di.elementRef = new ElementRef$1(di.node.native));
  }
docs: Creates an ElementRef for a given node injector and stores it on the injector.
  Or, if the ElementRef already exists, retrieves the existing ElementRef.
  
  @param di The node injector where we should store a created ElementRef
  @returns The ElementRef instance to use