In your controller, define a function called getMap maybe. Make a call to the servlet using your url for the same, using Method 'GET'.
$scope.getMap = function () {
$http({method: 'GET', url: 'your url'}).
success(function (data, status, headers, config) {
console.log(data);
$scope.myFruits = {data: data};
}).
error(function (data, status, headers, config) {
console.log("error");
});
};
Now you have to override the doGet() function in your servlet, which retrieves this map for you through a query to your database.
Convert the map to Json using
response = gsonHelper.toJson(yourMap);
Send this json as response back to your controller and assign it to a variable defined in scope, say fruits.
Now you can use fruits in your markup to iterate through the map.