@@ -577,17 +577,18 @@ angular
               callbacks[key] = combineCallbacks(callbacks[key], function() {
                 var attrHandler = scope[key];
                 var attrHandlerFn;
+                var args = {
+                  $event: arguments[0],
+                  $ui: arguments[1]
+                };
                 if (
                   typeof attrHandler === "function" &&
                   (
                     "uiSortable" +
                     key.substring(0, 1).toUpperCase() +
                     key.substring(1)
                   ).length &&
-                  typeof (attrHandlerFn = attrHandler({
-                    $event: arguments[0],
-                    $ui: arguments[1]
-                  })) === "function"
+                  typeof (attrHandlerFn = attrHandler(args)) === "function"
                 ) {
                   attrHandlerFn.apply(this, arguments);
                 }