Google Groups

Re: [angular.js] Re: chaining $http calls?

Suller Andras May 5, 2012 9:13 AM
Posted in group: AngularJS
On Sat, May 5, 2012 at 10:59 PM, Peter Bacon Darwin
<> wrote:
> By the way in your fiddle Thomas you put that you are delaying for 100ms to
> allow the scope change to come into affect.  This is not how angular works.
>  There is no other thread that will kick in and notice the scope change if
> you just wait for a bit.  What is actually happening is that by calling

I guess he meant that if you do not use $defer for alert, you will see
the old value on the screen while the alert is visible, and it will
update the screen only after you closed the alert box.