Ng-if always show border of div

I use ng-if to show an archive of message receive and sent.
WHen a user del a message, in the db ar not deleted, but the record DEL is checked to 1.
So if the value is 0 ng-if show the message in other case no! But the problem is that the message is not show, but I see the border of the div!
Why?

this is my code:

<div class="item item-body" ng-repeat="reply in replys">
        <div ng-if="reply.userID == reply.from && reply.del_to == '0'" on-swipe-left="delMsg({{reply.id}}, del_to)" >
          <div class="avatarMsg"><img ng-if="reply.photo != '0' && reply.photo != ''" ng-src="http://www.digitalxp.it/public/speedjob/users/{{reply.username}}/{{reply.photo}}"> <img ng-if="reply.photo == '0' || reply.photo == ''" src="img/anonimus.png"></div>
          <h2 style="text-decoration:underline; color:#930">{{reply.titolo}}</h2>
          <p>{{reply.messaggio}}</p>
          <p align="right"><i class="icon ion-clock"></i> Inviato il {{reply.inviato}} <span ng-if="reply.letto != ''">| <i class="icon ion-ios7-timer-outline"></i> letto il {{reply.letto}}</b></span></p>
        </div>
        <div ng-if="reply.userID != reply.from && reply.del_from == '0'" class="assertive" on-swipe-left="delMsg({{reply.id}}, del_from)">
          <h2 style="text-decoration:underline; color:#F60">{{reply.titolo}}</h2>
          <p align="justify"><span style="color:#CCC">Tu:</span> {{reply.messaggio}}</p>
          <p align="right"><i class="icon ion-clock"></i> Inviato il {{reply.inviato}} <span ng-if="reply.letto != ''">| <i class="icon ion-ios7-timer-outline"></i> letto il {{reply.letto}}</b></span></p>
        </div>
      </div>

Because the

its showed and it contains the border

Better than ng-if maybe you could use a filter in ng-repeat like

ng-repeat="reply in replys|filter:{userId: reply.from, del_to: '0'}"