bugfix for case: directive loaded several layers down

 <directive-1><div><div><directive-2>

directive('directive-1', function(node){node.innerHTML = ''});
directive-2 shooted;
Fixed by checking parent chain