When I tried to include the angular material slider in my form no errors show up but the slider is not visible, even though I imported all necessary modules in app.module.ts.

What is my mistake? I hope someone can help me with this.

> 
> Components HTML:
> 
> 
> 

```
<html>
    <div class="addtask">
        <form>
           Task: <input type="text" ><br/>
           Parent Task: <input type="text"><br/>
           Priority :<mat-slider></mat-slider>
           Start Date: <input type="date time"><br/>
           End Date: <input type="date time"><br/>
        </form>
    </div>
</html>

```

> 
> app.module.ts
> 
> 
> 

```
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { MatTabsModule } from '@angular/material';
import {MatSliderModule} from '@angular/material';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AddtaskComponent } from './addtask/addtask.component';

@NgModule({
  declarations: [
    AppComponent,
    AddtaskComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    MatTabsModule,
    MatSliderModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

```