Jak filtrować (klucz, wartość) za pomocą ng-repeat w AngularJs?

Próbuję zrobić coś takiego:

<div ng-controller="TestCtrl">
    <div ng-repeat="(k,v) in items | filter:hasSecurityId">
        {{k}} {{v.pos}}
    </div>
</div>

Część AngularJs:

function TestCtrl($scope) 
{
    $scope.items = {
                     'A2F0C7':{'secId':'12345', 'pos':'a20'},
                     'C8B3D1':{'pos':'b10'}
                   };

    $scope.hasSecurityId = function(k,v)
    {
       return v.hasOwnProperty('secId');
    }
}

Ale jakoś pokazuje mi wszystkie przedmioty. Jak mogę filtrować (klucz, wartość)?

questionAnswers(8)

yourAnswerToTheQuestion