Problem with ng-show


#1

I have problems with ng-show and I try to show different things depending on a value. The problem is shown the two, but after a few seconds the conditions put in the ng-show are met

<i class="ion-android-favorite ver_view-1" id="icono_like" ng-cloak ng-click="darLike({{view.id}}, 0); $event.stopPropagation();" ng-show="view.like == 1"></i>
          <i class="ion-android-favorite-outline ver_view-1" id="icono_like" ng-cloak ng-click="darLike({{view.id}}, 1); $event.stopPropagation();" ng-show="view.like != 1"></i>

#2

Can you put together a codepen demo of this?