$timeout is Angular's wrapper for window.setTimeout.
$timeout is Angular's wrapper for window.setTimeout. The fn function is wrapped into a try/catch block and delegates any exceptions to $exceptionHandler service.
The return value of registering a timeout function is a promise, which will be resolved when the timeout is reached and the timeout function is executed.
 
     
     
     
     
     
     
     
     
     
     
     
     
    