Refactored controller for gmMap to be an angular controller instead of a service. Should also fix minification issues.