I am using ng-map directive as below:
var center1 = $scope.latitude;
var center2 = $scope.longitude;
console.log(typeof center1);
$scope.map_center = [center1, center2];
<div>
<map ng-transclude class="google-map" center="map_center" options="map.options">
<points coords="points.coords" options="points.options" events="points.events" decimals="points.decimals"></points>
</map>
</div>
This renders the map view as blank. However on hardcoding the center it works fine. Im confused what is the issue.