Found such an idea in article:
Notice how the value function takes the scope as parameter (without the $ in the name). Via this parameter the value function can access the $scope and its variables.
$scope.$watch( function( scope ) {
return scope.val;
...
instead of what i used to:
$scope.$watch( function() {
return $scope.val;
...
Is it really better? And what is the reasoning behind this way?