Error $cordovaGeolocation

I’m trying to get my location with the command:
var options = {
frequency: 15 * 60 * 1000,
timeout: 1 * 60 * 1000,
enableHighAccuracy: false
};
function onError(error) {
console.log('code: ’ + error.code + ‘\n’ +
'message: ’ + error.message + ‘\n’);

          //  $scope.localizacao = {code: error.code, message: error.message};
            $scope.localizacao  =  error.message;
        }
		$cordovaGeolocation.watchPosition(options).subscribe(function(position) {
			$scope.myLocation=  {latitude:position.coords.latitude, longitude:position.coords.longitude};
		});

In the log of the emulator is returning: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

Could someone help me with this problem?

http://localhost:8100 in chrome works!
In android that does not work