AngularJS - Processing $http response in service
Posted
by
bsreekanth
on Stack Overflow
See other posts from Stack Overflow
or by bsreekanth
Published on 2012-09-20T03:36:10Z
Indexed on
2012/09/20
3:37 UTC
Read the original article
Hit count: 168
I recently posted a detailed description of the issue I am facing here at SO. As I couldn't send an actual $http request, I used timeout to simulate asynchronous behavior. Data binding from my model to view is working correct, with the help of @Gloppy
Now, when I use $http instead of $timeout (tested locally), I could see the asynchronous request was successful and data
is filled with json response in my service. But, my view is not updating.
updated Plunkr here
© Stack Overflow or respective owner