       findRoutePromises   = []
       directionsRenderers = []
       directionsData      = []
+
+    clearErrors = ->
+      $scope.error = false
 
     relicLatLng = (relic) ->
       new google.maps.LatLng(relic.latitude, relic.longitude)

            , delay
            findRoutePromises.push(promise)
        else
          console.error status # TODO: handle error

    getDelay = ->
      diff = Date.now() - lastQueryTimestamp


      error = (response) ->
        $scope.saving = false
        $scope.error = true

      if $scope.widget.uid
        WalkingGuide.update($scope.widget).then(success, error)
