me itself found solution. What i did was ,i changed ng-repeat as----------- 
ng-repeat="report in filterResult=(data.search.result | filter: { 
attendance: [{ type: data.makereporton }]}) "


Then i took filterResult.length.

Thank you


On Thursday, December 3, 2015 at 10:35:43 AM UTC+5:30, [email protected] 
wrote:
>
> Hi,
> i need to get count of filtered "report" in result count of bellow given 
> code.
>
> <tbody>
>                       <tr ng-repeat="report in data.search.result | 
> filter: { attendance: [{ type: data.makereporton }]} ">
>                         <td class="no-padding-v" style="padding-top: 
> 10px!important;" >{{$index+1}}</td>
>                         <td  style="padding-top: 10px!important;">
>                             <div 
> class="text-name">{{report.profile.firstName}}&nbsp;{{report.profile.lastName}}</div>
>                             <div class="text-muted 
> text-sm">{{report.userName}}</div>
>                         </td>
>                         <td class="no-padding-v" style="padding-top: 
> 10px!important;">{{report.attendance[0].type}}</td>
>                         <td class="no-padding-v" style="padding-top: 
> 10px!important;">{{report.attendance[0].reason}}</td>
>                          
>                       </tr>
>                       <tr >
>                         <td>{{result count :?}}</td>
>                       </tr>
>                       
>                   </tbody>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to