add ionicPlatform.ready in mapController