title: Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-template'
body: <p>Below worked fine in Angular 4</p>
  
  <pre><code>&lt;ng-container *ngFor="let user of list_users"&gt;
    &lt;div *ngIf="currentUser.username !== user.username"&gt;
      &lt;div class="card"&gt;
        bla bla
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/ng-container&gt;
  </code></pre>
  
  <p>Angular 5 is whining about this error:</p>
  
  <pre><code>Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-template'.
  1. If 'ngOutletContext' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
  2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
          &lt;!-- CUSTOM TEMPLATE --&gt;
          &lt;ng-template
              [ERROR -&gt;][ngOutletContext]="{ item: model, index: index }"
              [ngTemplateOutlet]="template"&gt;
          "): ng:///TagInputModule/TagComponent.html@12:12
  Property binding ngOutletContext not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations". ("div *ngSwitchCase="true" [attr.contenteditable]="editing"&gt;
          &lt;!-- CUSTOM TEMPLATE --&gt;
          [ERROR -&gt;]&lt;ng-template
              [ngOutletContext]="{ item: model, index: index }"
              [ngTemplateOut"): ng:///TagInputModule/TagComponent.html@11:8
      at syntaxError (compiler.js:466)
      at TemplateParser.parse (compiler.js:24314)
      at JitCompiler._parseTemplate (compiler.js:33701)
      at JitCompiler._compileTemplate (compiler.js:33676)
      at eval (compiler.js:33578)
      at Set.forEach (&lt;anonymous&gt;)
      at JitCompiler._compileComponents (compiler.js:33578)
      at eval (compiler.js:33448)
      at Object.then (compiler.js:455)
      at JitCompiler._compileModuleAndComponents (compiler.js:33447)
  </code></pre>
  
  <p>Looking through the upgrade steps: <a href="https://angular-update-guide.firebaseapp.com/" rel="noreferrer">https://angular-update-guide.firebaseapp.com/</a>, I don't seem to have anything related to the <code>ng-template</code> thing.</p>
  
  <p>Plus, that's the only place in my code I'm using <code>&lt;ng-template&gt;&lt;/ng-template&gt;</code></p>
  
  <p>How do I get this going?</p>