Array UI Refresh

I display an Array in a panel component with ng-repeat, I need to update the info pushing one element into an object inside the array and I want to refresh the UI. I try using $scope.$apply(); but I get errors: like Error: [$rootScope:inprog]. How else can I refresh the UI to reflect the new info?
1 person has
this question