Moved Map() to an angular service.
Merge pull request #6 from bennlich/mapService

Move Map() to a service.