Fix wrong variable name.

This commit is contained in:
Simo Kinnunen
2014-02-27 15:48:48 +09:00
parent 2692f71219
commit 8f09af0180

View File

@@ -8,7 +8,7 @@ module.exports = function SocketServiceFactory() {
$scope.$on('$destroy', function() {
listeners.forEach(function(listener) {
socket.removeListener(listener.event, listener.handler)
socketService.removeListener(listener.event, listener.handler)
})
})