So I want to display a Dropdown menu from Bootstrap: http://getbootstrap.com/components/#dropdowns
However ony of my li elements is a directive containing a li:
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<my-directive></my-directive>
</ul>
The html template of my-directive is a simple li tag as the others:
<li><a href="#">Directivelink</a></li>
However when I do it like this, the li inside my directive won't get styled as the other ones, since bootstrap doesn't recognize it due to the tags
How can I fix this, or what would be a possibility? I need to encapsulate the li inside a directive, because of additional logic.