In a few script I can find for instance
$timeout(function () {
$scope.my = 1;
});
instead of simply
$scope.my = 1;
What's the purpose to call $timeout without delay?
In a few script I can find for instance
$timeout(function () {
$scope.my = 1;
});
instead of simply
$scope.my = 1;
What's the purpose to call $timeout without delay?