Geolocate with Browser
An useful Angularjs service to geolocate with browser
- Install via Bower
bower install geoModule --save-dev
- Include the file in you index.html
<script src="[path]/[to]/geoModule.js"></script>
- Inject the dependency in you angular app.js
var app = angular.module('myApp', ['geoModule']);
- Include the service in your controller
app.controller('ExampleCtrl', ['$geoService', '$log', function($geoService, $log){
$log.info($geoService);
}]);