mariusnita/ecostem — pull request #6 by bennlich (2014-01-08 00:12:33+00:00)
Title: Move Map() to a service.

See what you think--I turned the Map() constructor into an init function, which means that the 'map' service is a singleton object. We could go back to using a constructor and binding a new Map() object to the controller scope with the mapBody directive (and still have Map() be a service, with access to $location).