Mayho/ngGeodist — pull request #1 by wesflo (2014-10-04 14:38:59+00:00)
Title: give value from options.unit not as string

so it had used just miles and ignored the options.unit value
60: var earthRadius = getEarthRadius(options.unit);