for permission
compile 'com.android.support:support-v4:23.0.0'
And here's some code! 👍
//top of the ts
declare var window: any;
window.plugins.location.getLatAndLong(function(res){console.log(res)}, function(res){console.log(res)});
ionic cordova plugin add ionic_pvn_location