   $scope.$on '$locationChangeSuccess', (event) ->
     $scope.selection = $window.location.hash.split("/")[2]
     $rootScope.page = $scope.page = $window.location.hash.split("/")[1]
-    console.log "$locationChangeSuccess", $scope.selection
 
   # Markers should be added after map is loaded
   $scope.onMapReady = =>

        $scope.markers = []

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

    $rootScope.selectResultByIndex(index)

  $scope.addMarker = (result) ->
    marker = new google.maps.Marker
      map: $scope.map
      position: new google.maps.LatLng(result.lat, result.lng)
