I'm having trouble displaying a full-height Google map on my website.
<section data-ng-controller="LocationsController" data-ng-init="find()">
<map center="41.454161, 13.18461" zoom="6">
<span data-ng-repeat="location in locations">
<marker position="{{location.latitude}},{{location.longitude}}"
title="{{location.name}}"></marker>
</span>
</map>
</section>
Currently, I have to manually set a height style attribute for the ngMaps framework or else it defaults to a height of 300px inline.
I've already tried using jQuery .css() to override the style attribute and setting the outer divs to 100% width and height, but neither solution worked as expected - either the ngMaps style persisted or the map disappeared entirely.
How can I successfully achieve a full-height display for the map?