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\
I would like to complete Sunil's answer: you should import MatTableModule and CdkTableModulein AppModule or in the Module where you component is declared.
MatTableModule
CdkTableModule
AppModule
@NgModule({ imports: [ CdkTableModule, MatTableModule ... ] }) public class AppModule