           $scope.reverse_geocode_address += ', ' + ac.long_name if ac.types.indexOf("locality") >= 0
           $scope.address = $scope.reverse_geocode_address
         searchSuccess($scope.geocoder_result)
+      $scope.setLoaded $scope
 
   $scope.increaseRange = () ->
     $scope.range_limit = Infinity

  FormDataStoreService.init 'MapCtrl', $scope, [
    'address'
    'selectedStore'
    'prms'
  ]

  # init vars

  $scope.numberedPin          ||= null
  $scope.defaultPin           ||= null
  $scope.hide_not_live_stores = false
  $scope.address              = $scope.$eval $attrs.bbAddress if !$scope.address && $attrs.bbAddress
  $scope.error_msg            = options.error_msg or "You need to select a store"
  $scope.notLoaded $scope
  
