Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 569 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 569 Bytes

geoModule

Geolocate with Browser

An useful Angularjs service to geolocate with browser

How to use

  • 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);

}]);