AngularJS $scope doesn't render after being updated
You are probably changing the $scope
outside of the angular $digest()
. Try replacing code making changes
with $scope.$apply(function(){ code making changes })
. With this the dirty-check should run and update all.
I would recommend using:
$scope.$evalAsync(function() { // scope changes here });
This way you won't run into problems like trying to call apply when there's a digest already in progress.