The fiddle dont work. Try clicking the buttons multiple times. It will speed up the $timeout
On Sunday, August 12, 2012 5:37:27 AM UTC+2, Dan Doyon wrote: > > Sure thing, from the doc "Promise that will be resolved when the timeout > is reached. The value this promise will be resolved with is the return > value of the fn function." > > below is contrived example > > http://jsfiddle.net/dandoyon/8qhQ8/2/ > > --dan > > > > On Aug 11, 2012, at 8:09 PM, wingy wrote: > > Is there a way to cancel a timeout? > > Wingy > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To post to this group, send email to [email protected] <javascript:> > . > To unsubscribe from this group, send email to > [email protected] <javascript:>. > Visit this group at http://groups.google.com/group/angular?hl=en. > > > > > -- 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.
