         .style("opacity", 1e-6)
         .style("z-index", "15")
 
-      $scope.makeMapGradients()      
+      $scope.makeMapGradients()
       queue().defer(d3.json, "data/us.json").defer(d3.json, "data/us-congress-113.json").await ready
 
     $scope.makeMapGradients = () ->

    $scope.drawMap()
    $scope.defaultFocus()

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

      $scope.usMap.transition().duration(750).attr("transform", "translate(0,0)scale(1)").style "stroke-width", 1 + "px"

    $scope.showDistrictDialog = () ->
      $('#map_dialog').html($compile("<sub-view template='partials/district_reps'></sub-view>")($scope))
      d3.select('#map_dialog')
        .transition()
        .duration(750)
