demo/demo.js
function(e, ui) {
      var logEntry = {
        ID: $scope.sortingLog.length + 1,
        Text: 'Moved element: ' + ui.item.scope().item.text
      };
      $scope.sortingLog.push(logEntry);
    }
function(e, ui) {
      var logEntry = {
        ID: $scope.sortingLog.length + 1,
        Text: 'Moved element: ' + ui.item.scope().item.text
      };
      $scope.sortingLog.push(logEntry);
    }
function ( e , ui ) { var logEntry = { ID : $scope . sortingLog . length + 1 , Text : 'Moved element: ' + ui . item . scope ( ) . item . text } ; $scope . sortingLog . push ( logEntry ) ; }
called after a node is dropped
called after a node is dropped