I pushed a fix into the https://github.com/vojtajina/angular.js/tree/pr-7565-incorrect-transclusion-scope branch.