I am using ngMap and specifically this example: https://ngmap.github.io/#/!shape_circle_with_current_position.html
It lets the user draw a circle and specify its radius.
How do I retrieve the center coordinate and the radius size?
This is my controller:
angular.module('myApp')
    .controller('someCtrl', function ($scope, NgMap, someService) {     
    NgMap.getMap().then(function(map) {
    });   
    $scope.someMethod = someMethod;
    function someMethod () {
        someService.addLocation(lat, lon, radius);
    }
});
I couldn't find any example.