docs: function createDirectivesAndLocals(localRefs) {
      var node = previousOrParentNode;
      if (firstTemplatePass) {
          ngDevMode && ngDevMode.firstTemplatePass++;
          cacheMatchingDirectivesForNode(node.tNode, tView, localRefs || null);
      }
      else {
          instantiateDirectivesDirectly();
      }
      saveResolvedLocalsInData();
  }