making geo-location plugin usage defensive

checks ionic platform ready before geo-location computation