Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Sep 29, 2014

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 »