This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Description
You can see an exaple of the bug in http://jsfiddle.net/carpasse/q3sRH/2/
The main difference between the two directives are their templates.
The first directive 'accordionTab' has this template:
template:'<div>'+
<h3 class="accordionTitle"><a href="#">{{title}}</a></h3>' +
'<div ng-transclude></div></div>'
and the second directive has this template:
template:'
' +
'
'
and if I use the second directive the code doesn´t get injected inside the
The issue is that when you do replace, you have to make sure that you replace with the same number of elements.
The ng-transclude happens to be on the second element, which does not get compiled.