I'm trying to insert an API key to the HTML header as
<script src="//maps.google.com/maps/api/js?sensor=false&key={{google_maps_key}}
type="text/javascript">
</script>
but it looks like is not populated on time before called to the Google Maps API for markers.
Current code:
<head ng-init="google_maps_key = 'my_key_is_here'">
<script ng-src="//maps.google.com/maps/api/js?sensor=false&key={{google_maps_key}}"
type="text/javascript">
</script>