time picker for angular 9 code example

Example: time picker angular

npm install --save ngx-material-timepicker
Next import the timepicker module into your app's module:

import {NgModule} from '@angular/core';
import {NgxMaterialTimepickerModule} from 'ngx-material-timepicker';
 
@NgModule({
  imports: [NgxMaterialTimepickerModule]
})
export class MyModule {}
Finally connect the timepicker to an input via a template property:

<input [ngxTimepicker]="picker">
<ngx-material-timepicker #picker></ngx-material-timepicker>