title: Angular ngx-datatable cellTemplate not loading
body: <p>I'm trying to override the template of an ngx-datatable cell. So in my template (html) file i'm setting a small view for this. To test if the template works i'm just displaying the value with starts around it:</p>
  
  <pre><code>&lt;ngx-datatable
      class="material"
      [rows]="rows"
      [columns]="columns"
      headerHeight="45"&gt;
  &lt;/ngx-datatable&gt;
  &lt;ng-template #roleTemplate let-row="row" let-value="value" let-i="index"&gt;
    &lt;strong&gt; **{{ value }}** &lt;/strong&gt;
  &lt;/ng-template&gt;
  </code></pre>
  
  <p>In my component im using ViewChild to get the template and give it to my datatable.
  <code>@ViewChild('roleTemplate') roleTemplate: TemplateRef&lt;any&gt;;</code></p>
  
  <pre><code>public columns = [
          { name: 'Name', prop: 'displayName' },
          { name: 'Email', prop: 'emailAddress' },
          { name: 'Role', prop: 'role', cellTemplate: this.roleTemplate },
          { name: 'Status', prop: 'status' },
      ];
  </code></pre>
  
  <p>Only thing the <a href="https://swimlane.gitbooks.io/ngx-datatable/api/column/inputs.html" rel="noreferrer">documentation</a> says: </p>
  
  <blockquote>
    <p><strong>cellTemplate: TemplateRef</strong></p>
    
    <p>Angular TemplateRef allowing you to author custom body cell templates</p>
  </blockquote>
  
  <p>However it doesn't seem to work. Am I missing something?</p>