2
I’m a beginner in Angular JS. I realized that we have a service in Angular called $timeout
.
I was curious to understand why this service exists, since Javascript natively has the setTimeout
.
What is the difference between the $timeout
and the setTimeout
?
The main question is: If I use
setTimeout
, there is a risk that a data will not be updated at the angle. I thought that was the reason, but I see that it is much more.– Wallace Maxters