 
       $scope.updateItemPosition = (item, column, pos) ->
         BoardItem.get(item.id).then (boardItem) ->
-          console.log 'update pos'
           boardItem.position = pos
           boardItem.uiColumn = column
           boardItem.update()

            $scope.updateItemPosition(ui.item.sortable.model, destinationListIndex, newPosition)
        }

        # SERVER SENT EVENTS
        $timeout( () ->
          source = new EventSource('/api/boards/' + $routeParams.board_id + '/events')

angular
  .module('teamboard.controllers')
  .controller("BoardController", [ '$scope','$timeout', '$location','$resource','$routeParams','Board',
    'BoardItemNested', 'BoardItem', 'SweetAlert', '_', 'CurrentUser'
    ($scope, $timeout, $location, $resource, $routeParams, Board, BoardItemNested, BoardItem, SweetAlert, _, CurrentUser) ->
      $scope.currentUser = null
      init = () ->
        # UI SORTABLE OPTIONS
        $scope.sortableOptions = {
