docs: function injectAttribute(attrNameToInject) {
      ngDevMode && assertPreviousIsParent();
      var lElement = getPreviousOrParentNode();
      ngDevMode && assertNodeType(lElement, 3 /* Element */);
      var tElement = lElement.tNode;
      ngDevMode && assertDefined(tElement, 'expecting tNode');
      var attrs = tElement.attrs;
      if (attrs) {
          for (var i = 0; i < attrs.length; i = i + 2) {
              var attrName = attrs[i];
              if (attrName === 1 /* SelectOnly */)
                  break;
              if (attrName == attrNameToInject) {
                  return attrs[i + 1];
              }
          }
      }
      return undefined;
  }