I ran into this blog post and author have used some code like this:
$timeout(function () {
    $timeout(function () {
        // some code
    }, 0);
}, 0);
I was wondering what this code really is doing?
I ran into this blog post and author have used some code like this:
$timeout(function () {
    $timeout(function () {
        // some code
    }, 0);
}, 0);
I was wondering what this code really is doing?