Have you looked at https://github.com/angular-ui/ui-map ?
On Thursday, March 13, 2014 8:32:17 AM UTC-4, Yash Ganthe wrote:
>
> In the constructor of my Controller, I have:
> $http.get('/api/stops')
> .success(function(data){
> $scope.stops = data ;
> //alert(data.toSource());
> console.log(data);
> })
> .error(function(data){
> console.log(data);
> });
>
> In the HTML, I would like to add the stops to a Google map using
> Javascript in a tag. I am told that does not support ng-model or ng-repeat.
> In such a case, how do I evaluate the only once the $scope.stops has been
> assigned a value? The http get may take some time to complete and hence I
> cannot make assumptions about how long it will take.
>
> If this is not a recommended practice, what is the recommended practice?
> Thanks,
> Yash
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.