A simple haversine module for AngularJS