changed name from directive to service for google map