Access the previous item in a dir-paginate [closed]

1

I need to always access the previous item and make a comparison for the display of a tr >

 <tbody dir-paginate="nota in notas[0]|orderBy:sortKey:reverse|itemsPerPage:15">
                    <tr ng-if=""> // Essa é a <tr> que me refiro
                        <td>
                            <div>{{nota.cpfCnpj[0]}} </div>
                        </td>
                        <td class="col-md-4">
                            <div class="text-uppercase">{{nota.razaoSocial[0]}}</div>

                        </td>
                        <td>
                            <div class="row">
                                <div class="col-md-2 center-block">{{nota.simplesNacional[0] === true ? 'Sim' : 'Não'}}</div>
                            </div>
                        </td>
                        <td>
                            <div>
                                <div>{{nota.descricaoPorte[0] == 'SemPorte' ? 'Sem Porte' :  nota.descricaoPorte[0]}}</div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" data-toggle="tooltip" title="{{nota.valorAgrupado.descricao}}">
                            <h6 class="text-limit">{{nota.valorAgrupado.descricao}}</h6><br/>
                        </td>
                   </tr>
    
asked by anonymous 04.07.2018 / 17:33

0 answers