I would like to do something like this in angularJS:
<div ng-class="{ 'hover-accordion': angular.element(this).children().length >= 3 }">
<div ng-if="showA">...</div>
<div ng-if="showB">...</div>
<div ng-if="showC">...</div>
<div ng-if="showD">...</div>
<div ng-if="showE">...</div>
</div>
This means that if the parent div has more then 3 childs, I want the class 'hover-accordion'.
Is it possible?