Lets say I have a element tree and I want to wrap it in different div based on a condition eg.
//condition == 1
<div class="condition1" condition1Directive>
   <div> ... </div>   //same content
</div>
//condition == 2
<div class="condition2">
   <div> ... </div>   //same content
</div>
I would like to find the most elegant and efficient way to do this in angular. Thanks
 
     
     
    