You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2021. It is now read-only.
Given that $timeout, when it resolves, calls $rootScope#$apply, it is somewhat redundant to call $scope.$apply within a $timeout callback. In some context its a potential source of jank because you might be forcing angular to re-digest the whole DOM.
You might consider removing those three lines or replacing $timeout with setTimeout.
I did some testing and had some UI responsiveness issues when resizing some grid items which was alleviated with the removal.