Thanks , I able to do this on Angular 8 by refer this example
https://code.daypilot.org/29513/angular-scheduler-modal-dialog-for-event-editing
Here shared some testing code  
on ts file:
@ViewChild('gantt', { static: false }) gantt: DayPilotGanttComponent;
public createTask(): void{
this.gantt.control.tasks.add(new DayPilot.Task({
        id: DayPilot.guid(),
        text: 'MO',
        start: new DayPilot.Date().getDatePart(),
        end: new DayPilot.Date().getDatePart().addDays(1),
        type: 'Task'
    }));
}
on html file
<daypilot
- gantt [config]="config" #gantt></daypilot-gantt>
 <button  
(click)="createTask()">Add Task</button>