etodanik / ion-google-place

Ionic directive for a location dropdown that utilizes google maps
MIT License
250 stars 201 forks source link

can't i add the googleapis.com script to the body? #73

Open ofershap opened 8 years ago

ofershap commented 8 years ago

when its on head it takes almost 30second for google API to response, and the app is frozen on the meantime. can't i declare the script in the body? I saw some solutions, maybe i can write a directive to inject it and instantiate it in the body, ie:

http://stackoverflow.com/questions/15058885/google-maps-api-map-initialise-script-in-body-not-head-map-not-appearing