Processing $http response in service

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 @Gloopy

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

12 Answers
12

Leave a Comment