Solved this - I placed the GoogleMapApi promise within the openModal function:
$scope.openModal = function () {
$scope.modal.show();
GoogleMapApi.then(function (map) {
....
Solved this - I placed the GoogleMapApi promise within the openModal function:
$scope.openModal = function () {
$scope.modal.show();
GoogleMapApi.then(function (map) {
....