         console.log "comments retrieve error"
 
 
+  $scope.$on( "reloadList", ->
+    $scope.getMyList()
+  )
+
   $scope.getCurrentUser()
 
   ])

  $locationProvider.html5Mode(true);
])


# ng-controller for My Wish Lists
App.controller("MyWishListController", ["$scope", "$http", "$routeParams", ($scope, $http, $routeParams) ->


      .success (data) ->
        console.log "Item destroyed"
        $scope.loadWishList()
        $scope.$broadcast("reloadList")
      .error (data) ->
        console.log "data error"

