Apparently this inconsistency has been fixed in the newer versions of Angular.
We're using 1.0.8
and the correct behaviour (throwing the error when multiple directives require transclusion on the same element) only occurs when using the template
option. When using the templateUrl
option, the error is not thrown and the directive works as expected (which still boggles my mind)
Edit: fixed it using the compile
function and removing the replace
option. Working example here.