AngularJS not refreshing ngRepeat when updating array
You are modifying the scope outside of angular’s $digest cycle 50% of the time. If there is a callback which is not from angularjs; (posibbly jquery). You need to call $apply to force a $digest cycle. But you cannot call $apply while in $digest cycle because every change you made will be reflected automatically already. … Read more