javascript - Prevent page scroll in angular model update -
i had interval refresh model in angular:
$interval(function(){ itemsdata.getitemsdata().then(function(data){ $scope.items = data; }); }, 1000);
data getted json api. , elements added page ng-repeat. on each second page scroll top. question is: how prevent it.
Comments
Post a Comment