I took scheduler options from here http://kendo-labs.github.io/angular-kendo/#/Scheduler (copy-paste)
When try to move event to some other day it throws the following error:
TypeError: Cannot read property '$destroy' of undefined
Going through the source code see it calls destroy for the scope that is undefined.
When try to move event to some other day it throws the following error:
TypeError: Cannot read property '$destroy' of undefined
Going through the source code see it calls destroy for the scope that is undefined.
function
destroyScope(scope, el) {
scope.$destroy(); // scope is null here
if
(el) {
// prevent leaks. https://github.com/kendo-labs/angular-kendo/issues/237
$(el)
.removeData(
"$scope"
)
.removeData(
"$isolateScope"
)
.removeData(
"$isolateScopeNoTemplate"
)
.removeClass(
"ng-scope"
);
}
}