Hi Mahendra,

As Sander described there is no difference between sync or async on the
client side if you use Angular. Both managed by promises (Q library of
Angularjs). It might be an issue how to deal with promises. Please check
the document about Q library where you can find examples.

https://docs.angularjs.org/api/ng/service/$q

On 21 September 2015 at 04:43, Mahendra Gurav <[email protected]>
wrote:

> Hi,
>
>   I have Java REST web service, which is implemented as async. Need to
> call that service in my angularjs application. I am able to call normal
> REST service using get method, but what should I use to call async rest
> service. Please give me sample code or any references for that.
>
>
> Thanks,
> Mahendra
>
> --
> 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.
>



-- 
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

-- 
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.

Reply via email to