We are constructing a tree structure using ng-repeat, for this we are making visual force remote action call to get some large(11000 records) Json data from the back end ,Once we get the data we are binding to scope variable by calling $scope.$apply() to let angular know about this model object(scope variable) change,when $scope.$apply method is called my page is taking too long and even breaking after sometime at $rootscope.$digest() (which is in $apply())...
Any suggestions ?
Thanks,
Venkat.