Denis
Member since Sep 29, 2014
- Profile: /members/12316-denis.htm
- Comments: 1
Recent Blog Comments By Denis
-
Don't Forget To Cancel $timeout Timers In Your $destroy Events In AngularJS
Posted on Sep 29, 2014 at 2:56 PM
@Tommy When you call $timeout.cancel(promise) then angular runs code to cancel the promise passed and do cleanup. Angulars $scope.$destroy() will make that scope object available for garbage collection (by removing all references to it) but it has no knowledge of what properties are on the scope or ... read more »