Hi I am new to Day Pilot Scheduler.  
I have referred this link https://code.daypilot.org/54503/angularjs-timesheet-tutorial-javascript-php
here this link has both javascript (angularjs) and PHP for me, i am working only in angularjs.
so I have replace the PHP function to expressjs.
now what my doubt I don't know how to set the end . for end is set as default by before a current date 
here is my scheduler code 
 $scope.scheduler = {
            viewType: "Days",
            showNonBusiness: false,
            businessBeginsHour: 9,
            businessEndsHour: 17,
            cellWidthSpec: "Auto",
            scale: "CellDuration",
            cellDuration: "15",
            useEventBoxes: "Never",
            days: new DayPilot.Date().dayOfWeek(),
            startDate: (new DayPilot.Date().firstDayOfWeek())
}
here i have attached my sample image kindly refere this.
can anyone solve my issue.