   $scope.selectResult = (result, index) ->
     $scope.selectedResult = result
     $rootScope.clickMarker(index)
-    console.log "Selecting #{index}"
 
   $rootScope.selectResultByIndex = (index) ->
-    console.log "asdf"
     $scope.selectedResult = $scope.results[index]
 
   $scope.search = ->
     $scope.orderByRatings = false
-    console.log "false"
     $location.path("/search/#{$routeParams.operation}") if $routeParams.operation
 
   $scope.searchRatings = ->
     $scope.orderByRatings = true
-    console.log "true"
     $location.path("/search/#{$routeParams.operation}/rating") if $routeParams.operation
 ]
 


  $scope.markerClicked = (m) ->
    $scope.map.panTo(m.position)
    console.log "panTo", m.position.lat(), m.position.lng()
    m.setAnimation(google.maps.Animation.BOUNCE)

    $timeout ->
      m.setAnimation(null)

        $scope.markers = []

        for result in results
          geocoder.geocode("#{result.street}, #{result.city}, #{result.state} #{result.zip}").then (location) ->
            result.lat = location.lat()
            result.lng = location.lng()
            $scope.addMarker(result)
