title: PrimeNG: 'p-table' is not a known element
body: <p>I'm working on an Angular 6 application and I need to create a toggle table with PrimeNG 7.0.5, but I've got this problem when I tried to use <code>&lt;p-table&gt;</code>:</p>
  
  <blockquote>
    <p>'p-table' is not a known element</p>
  </blockquote>
  
  <p>Same problem when I want to use parameters as 'value' in &lt; p-table >.</p>
  
  <p>I am using the Documentation of the TurboTable <a href="https://www.primefaces.org/primeng/#/table" rel="nofollow noreferrer">here</a>.</p>
  
  <p>I have imported the TableModule in my app.module.ts.</p>
  
  <p>app.module.ts</p>
  
  <pre><code>import { CommonModule, registerLocaleData } from '@angular/common';
  import { HttpClient, HttpClientModule } from '@angular/common/http';
  import { HttpModule } from '@angular/http';
  import { NgModule, Pipe, PipeTransform, LOCALE_ID } from '@angular/core';
  import { BrowserModule } from '@angular/platform-browser';
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
  import { TranslateHttpLoader } from '@ngx-translate/http-loader';
  import { AppRoutingModule } from './app-routing.module';
  import { AppComponent } from './app.component';
  import { AuthGuard } from './shared';
  import { FormsModule } from '@angular/forms';
  import { MessageComponent } from './message/message.component';
  import { MessageService } from './message/message.service';
  // imported it here
  import { TableModule } from 'primeng/table';
  import localeFr from '@angular/common/locales/fr';
  
  registerLocaleData(localeFr);
  
  export const createTranslateLoader = (http: HttpClient) =&gt; {
      return new TranslateHttpLoader(http, './assets/i18n/', '.json');
  };
  
  @NgModule({
      imports: [
          CommonModule,
          BrowserModule,
          BrowserAnimationsModule,
          HttpClientModule,
          FormsModule,
          HttpModule,
          TableModule,    /* &lt;-- added this */
          TranslateModule.forRoot({
              loader: {
                  provide: TranslateLoader,
                  useFactory: createTranslateLoader,
                  deps: [HttpClient]
  
              }
          }),
          AppRoutingModule
      ],
      declarations: [AppComponent, MessageComponent],
      providers: [AuthGuard, MessageService, { provide: LOCALE_ID, useValue: 'fr-FR' }],
      bootstrap: [AppComponent]
  })
  export class AppModule { }
  </code></pre>
  
  <p>For the html, I've just tested the code with this:</p>
  
  <pre><code>&lt;p-table&gt;&lt;/p-table&gt;
  </code></pre>
  
  <p>I found nothing about this case on the net and on this version...
  Has somebody has ever had this problem?</p>