I am trying to create array of objects dynamically in angular. I have this segment of code
data:{title:any,date:any}; arr:any=[] this.service.calendarBooking