While filtering a child select object by a parent select value, I get the results of the filter just as expected using the code bellow.
(filter is based on scope variable $scope.le\_form.categories.id)

But I just wanna show the child select, if the filter is not empty:

```
<div ng-show="(labels|filter:labelFilter).length">
    <label>Labels in categories</label>
    <select ng-options="l.label for l in labels | labelFilter: {cats: le_form.categories.id}" ng-model="le_form.product_labels_uid">
        <option value="" disabled>Select</option>
    </select>               
</div>

```

So, my filter works, but I don't this *ng-show* to be true unless the parent id is found on its filter results.

Of course, that condition you see on ng-show works, but it won't hide the div if the filter returns no results. How can I do this?