I am having issues with a custom directive with replace: true,
http://jsbin.com/OtARocO/2/edit
As far as I can tell, I do only have one root element, my , what i
Seems to be a known bug of AngularJs.
What you could do is to change the restriction to attribute instead of element, remove the Basically: Your template becomes: Your directive: And your HTML :tbody
from the template and use a in your html code.
{{ item.name }} row2 return {
restrict: 'A',
templateUrl: 'lineItem.html',
link: function(scope, element, attrs) {
}
};