I have had an angularJs 1.xx development to review and I wanted to make sure that the usage I see is correct in many of the controllers of this construction:
$timeout(function(){
$rootScope.$apply();
});
Especially within watcher functions
$scope.$watch(function() {}
What utility can it have. It should not even be enough:
$timeout(function(){
});
Can a doubt affect the performance of the angularJs development by injecting in many controllers the reference to $ rootScope if it is not used in it?