title: StaticInjectorError in angular DOM
body: <p>When I use table element in Angular sometimes show me this error in the console of the browser
  What's the problem? <br>
  How can I solve it? <br>
  angular HTML:</p>
  
  <pre><code>&lt;table class="table table-striped table-hover table-bordered table-condensed  "&gt;
    &lt;thead&gt;
      &lt;tr class="tr-bottom-color-orrange"&gt;
  
        &lt;th class="text-center"&gt;name&lt;/th&gt;
  
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr *ngFor="let item of listItem"&gt;
  
        &lt;td class="text-left"&gt;
          {{ item.name }}
        &lt;/td&gt;      
      &lt;/tr&gt;
  
    &lt;/tbody&gt;
  &lt;/table&gt;  
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>ERROR Error: StaticInjectorError(AppModule)[TableDirective -&gt; ColumnResizingService]: 
    StaticInjectorError(Platform: core)[TableDirective -&gt; ColumnResizingService]: 
      NullInjectorError: No provider for ColumnResizingService!
      at _NullInjector.get (core.js:1002)
      at resolveToken (core.js:1300)
      at tryResolveToken (core.js:1242)
      at StaticInjector.get (core.js:1110)
      at resolveToken (core.js:1300)
      at tryResolveToken (core.js:1242)
      at StaticInjector.get (core.js:1110)
      at resolveNgModuleDep (core.js:10854)
      at NgModuleRef_.get (core.js:12087)
      at resolveNgModuleDep (core.js:10854)
  </code></pre>
  
  <p>I'm using lazy loading module
  ContractModule :</p>
  
  <pre><code>@NgModule({
    imports: [
      SharedModule,
      KendoSharedModule,
      SmartadminModule,
      SmartadminValidationModule,
      PaginationModule.forRoot(),
      DpDatePickerModule,
      NgxMaskModule.forRoot(),
      SmartadminWizardsModule,
      ContractRoutingModule,
    ],
    providers: [ContractResolverService],
    declarations: [AddContractComponent, ListContractComponent, AddWarrantyComponent]
  })
  export class ContractModule { }
  </code></pre>