воскресенье, 12 января 2014 г., 21:22:05 UTC+4 пользователь Ben Greer
написал:
>
> should be something like:
>
> getVars.get().then(function(data){
> console.log(data.languages);
> });
>
> any ajax calls are asynchronous.
>
Thank you. I know this method. But I would like to get the value outside
success function. To be used as constants for the controller.
--
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/groups/opt_out.