I want to write an AngularJS directive such as
<my-directive>
<inner-body>
normal HTML and Angular constructs
</inner-body>
</my-directive>
And should be converted as
<div class="group">
<div> directive inserted text </div>
<div class="groupBody">
normal HTML and Angular constructs
</div>
</div>
Basically, I want to have flexibility to write HTML inside inner-body. The directive will convert it to div and apply some attributes to this div.
Is it possible?
TIA.