I'm wondering and can't find an answer on why is the transcluded content of a directive bound to a child scope of the outer scope, and not to the outer scope itself.
I'm not talking about isolate scope or the scope created with scope: true.
It seems to me that it would've been more intuitive to use the outer scope, so that setting primitive properties on it would work as expected (I know about 'the dot' etc., but still, why not keep things simple).
<div ng-controller="Parent" ng-init="count=0">
Current count: {{count}}
<directive-with-transclude>
<!-- won't work because the count is set in a child scope of Parent's scope -->
<a href ng-click="count++">Increment</a>
</directive-with-transclude>
</div>
Is there a reason for that decision?