I have a data array which contains objects (JSON format).
var users = {
'New':{
{Name:'One'},
{Name:'Two'}
},
'Old':{
{Name:'Three'},
{Name:'Four'}
}
And i use this construction to display data:
<div ng-repeat="(key, value) in users">
<p>{{key}}</p>
<div ng-repeat="user in value | filter: query">
</div>
</div>
How do I get the count of filtered data? Thanks in advance for your reply!