I am using AngularJS and I am trying to animate on enter the new elements in my array:
<div ng-repeat="obj in objects">
{{ obj.name }}
</div>
But there is a trouble with the way I renew my array: I am doing it with http.get
and I am not pushing some new element to my object but totally renew it like here:
$http.get('/some/url').success(function(objects){
$scope.objects = objects;
});
So is there any way to handle animation in this case or do I need to change the way I renew my array?