Ng- if filter counting

I would like to hide or show a class in habpanel with ng-if, but couldn`t get it working. I am counting the “ON-switches” and would like to show a class in relation to that number.
Its probably not a big thing, but I just can’t get it.
I appreciate your help very much.

<div style="width:40%; height:100%; float:left;">
        <div class="title"><div class="name">Lampen</div><div ng-if="{{( filteredAlle | filter: { state: 'ON' } ).length}} > 0"><div class="summary">AN: {{ ( filteredAlle | filter: { state: 'ON' } ).length }} von {{filteredAlle.length}}</div></div></div>
  		<div ng-repeat="item in itemsInGroup('AlleLampen') | filter:query as filteredAlle"></div>
      </div>

Found out myself how to make it work :slight_smile:
Just for someone with same issue:

<div style="width:40%; height:100%; float:left;">
        <div class="title"><div class="name">Lampen </div><div class="summary" ng-if="( filteredAlle | filter: { state: 'ON' } ).length > 0">AN: {{ ( filteredAlle | filter: { state: 'ON' } ).length }} von {{filteredAlle.length}}</div></div>
  		<div ng-repeat="item in itemsInGroup('AlleLampen') | filter:query as filteredAlle"></div>
      </div>