g-if="document.docs.length" class="badge">{{document.docs.length}}</span>
                        </li>
                        <li class="item" ng-class="{'active': document.typeFilter == 'image'}" ng-click="document.typeFilter = 'image'">
                            Images <span ng-if="document.docs.length" class="badge">{{document.docs | fileType:'image'}}</span>
                        </li>
                        <li class="item" ng-class="{'active': document.typeFilter == 'document'}" ng-click="docum