     $scope.drawMap()
     $scope.defaultFocus()
 
-    $scope.$watch('state_district', (newVals, oldVals) -> 
+    $scope.$watch('state_district', (newVals, oldVals) ->
       if $scope.state_district.state
         $scope.setDistrictData(newVals, oldVals)
         $scope.highlightDistrict()

        .style("opacity", 1e-6)
        .style("z-index", "15")

      $scope.makeMapGradients()      
      queue().defer(d3.json, "data/us.json").defer(d3.json, "data/us-congress-113.json").await ready

    $scope.makeMapGradients = () ->

          "#{$scope.FIPS_to_state[d.id / 100 | 0]}-#{d.id % 100}"
        district.on("mouseover", () ->
          return tooltip.style("visibility", "visible").text(d3.select(this).text())
        ).on("mousemove", () ->
          return tooltip.style("top", (event.pageY-27)+"px").style("left", (event.pageX+"px"))
        ).on("mouseout", () ->
          return tooltip.style("visibility", "hidden")
        ).on("click", () ->
          if !$scope.district_reps.length and $scope.zoomed
