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

  $scope.retrieveContribution = ->
    $http.get("api/wanted_items/#{$scope.wanted_item.id}/contributionData.json")
      .success (data) ->
        $scope.contributors = data   # Array of contributors and amount
        $scope.showTotalContribution()
      .error (data) ->

      @className = ""
      $scope.addItemToWishList($scope.selectedItem)
      elementDragged = null
      dropAnimation()
      false

