I am using Angular UI-Calendar to show some events on the Calendar. The events are showing fine on the Calendar. But when I update any event\'s details, the event\'s detail
Try this. It worked for me.
function flushEvents() { $scope.events.splice(0,$scope.events.length); for(var i=0; i<$scope.events.length; i++) { $scope.events.splice(i,1); } }