title: ngTemplateOutletContext context source is undefined
body: <p>That code worked at least with angular 2 if not even with angular &lt; 4.3.6.</p>
  <p>At the moment <code>gradingKey</code> object is undefined inside the display or edit template.</p>
  <p>It is not undefined in the getTemplate(gradingKey) method.</p>
  <p>gradingKey is initialized as class field in the</p>
  <p><strong>component</strong></p>
  <pre class="lang-js prettyprint-override"><code>@Input() set gradingKeyModel(gradingKeyModel: GradingKeyModel) {
      this.gradingKey = gradingKeyModel.gradingKey;
  }
  </code></pre>
  <p><strong>Html</strong></p>
  <pre class="lang-js prettyprint-override"><code>&lt;ng-template [ngTemplateOutlet]=&quot;getTemplate(gradingKey)&quot; 
               [ngTemplateOutletContext ]=&quot;{ $implicit: gradingKey }&quot;&gt;
  &lt;/ng-template&gt;
  
  &lt;ng-template #displayTemplate let-gradingKey&gt;
      &lt;div&gt;
          {{gradingKey}}       
      &lt;/div&gt;
  &lt;/ng-template&gt;
  
  &lt;ng-template #editTemplate let-gradingKey&gt;
      &lt;div&gt;
          {{gradingKey}}       
      &lt;/div&gt;
  &lt;/ng-template&gt;
  </code></pre>
  <p>Why is gradingKey undefined inside the templates suddenly?</p>
  <p>Did the way how to access ngOutletContext changed when using ngTemplateOutletContext?</p>