Closed njirem closed 8 years ago
On a $scope.$destroy the unregisterHandler function is called. This function removes all the eventListeners. The properties object that these listeners are attached to, might not exist. So during the teardown, an error will be raised.
This fixes issue #314
On a $scope.$destroy the unregisterHandler function is called. This function removes all the eventListeners. The properties object that these listeners are attached to, might not exist. So during the teardown, an error will be raised.
This fixes issue #314