for each date in the $scope.all_date array, a holiday event is created with specific details such as color and start date. However, only the last date in the array is currently being displayed as a holiday event on the frontend. The goal is to display all dates as holidays until the loop reaches its end.
In order to achieve this functionality, adjustments need to be made in the code logic to properly represent each date from the backend as a holiday event in the calendar.