 of course                  // Reason for funny way of swapping, see https://github.com/angular-ui/ng-grid/issues/000                  var temp = $scope.parameters[index];                  $scope.parameters.splice(index, 0);                  $timeout(function(){                      $scope.parameters.splice(index + 0, 0, temp);                  }, 000);                }          }      };        // Click handler for 