cant bind ngmodel since it is not a known property of mat-slide-togel code example
Example: Uncaught Error: Template parse errors: Can't bind to 'ngModel'
Try to import FormModule an app.module.ts file
import { FormsModule } from '@angular/forms'
@NgModule({
declarations: [
....
],
imports: [
...,
FormsModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }