     getLGA = () ->
       $http.get('/api/waterpoints/values/lga',
                 params: {region: $scope.params?.region}
-                cache: true)
+                cache: cacheHttp)
         .success (data, status, headers, config) ->
           $scope.lgas = data.sort()
 
     getWard = () ->
       modalSpinner.open()
       $http.get('/api/waterpoints/values/ward',
-                cache: true
+                cache: cacheHttp
                 params:
                   region: $scope.params?.region
                   lga: $scope.params?.lga)

angular.module('taarifaWaterpointsApp')

  .controller 'DashboardCtrl', ($scope, $http, modalSpinner, populationData) ->

    $scope.gridsterOpts = {
        margins: [10, 10],


      if filter then url += "?" + filter

      $http.get(url, cache: cacheHttp)
        .success (data, status, headers, config) ->
          geoField = _.contains(['region','lga','ward'], groupfield)

