On ajax call data receive, I am updating some part of page (listing of products)
$scope.posProducts = response.data_info.details.outletPrdData;
but my view is not getting update.
View
    <table style="display: block;">
      <tr>
        <td ng-repeat="posProduct in posProducts | filter:searchQueryForPOSProducts" style="display: inline-block; margin-bottom:10px;">
           <button type="button" class="btn btn-primary" style="margin-right:10px; padding-top:10px;padding-bottom:10px;" tooltip="Unit price : {{posProduct.prdUnitPrice}}" tooltip-trigger="mouseenter" tooltip-placement="top" tooltip-append-to-body="true" ng:click="addItem(posProduct)">
                                    {{posProduct.prdName}}
            </button>
       </td>
     </tr>
</table>
When i tried to use $apply :
$scope.$apply(function() {
   $scope.posProducts = response.data_info.details.outletPrdData;
});
I am getting error:
$digest already in progress
How i will update my page view on ajax call?
It seems this problem is related to data binding.
I am using angularjs 1.2.16
