I am using Angular 7.0.2, and I am facing this error while trying to create a table using Angular Material
Can\'t bind to \'dataSource\' since it isn\
You should import MatTableModule in AppModule or in the Module where you component is declared.
MatTableModule
AppModule
@NgModule({ imports: [ MatTableModule ... ] }) public class AppModule
or
@NgModule({ imports: [ MatTableModule ... ], declarations : [ProductionOrderComponent] }) public class MyModule