Cordova services

Geolocation sample on how to use the services in main controller