function getRegions() {
    $http.get('all_regions')
      .success( function(data){
        $scope.regions = data;
      })