changed google map from directive to service