         console.log "Wish list error"
 
   $scope.dragdrop = ->
+    console.log 'i am setting up bindings for anything that might get dragged'
     dropZoneOne = document.querySelector("#drop-target-one")
     dragElements = document.querySelectorAll(".list-drop")
     elementDragged = null

# ng-controller for Catalogue
App.controller("GiftItemController", ["$scope", "$http", ($scope, $http) ->

  $scope.wish_lists = {}

  $scope.loadItems = ->
    $http.get("/api/items.json")
      .success (data) ->
        $scope.items = data
      .error (data) ->
        console.log "data.error"

App.config([ '$routeProvider', '$locationProvider', ($routeProvider, $locationProvider) ->
  $routeProvider
    .when('/',
      templateUrl: "catalogue.html"
    ).when('/wishlist/:id',
      templateUrl: "wish_list_details.html",
      controller: 'WishListController'
