angularjs filter array of objects based on name prop

JavaScript
<div ng-repeat="subject in results.subjects | filter:{grade:'C'}">
    <input ng-model="subject.title" />
</div>
Source

Also in JavaScript: