Quick Tip – AngularJS Controller Destructor

July 17, 2014

One of the things you might need to do is to clean up resources when a controller in AngularJS is being deactivated. The way to clean used resources is by listening to the $scope’s $destroy event and when it is triggered to do your clean. In the AngularJS controller lifecycle, a $destroy function is called in order to remove the current scope with all its children from a parent scope. The $destory function is called by AngularJS and once it occurs a $destory event is triggered on the scope. You can use that knowledge and clean resources once the...
no comments

SELA SDP 14 Slide Decks and Demos

July 3, 2014

This week I had the pleasure to deliver two sessions and a workshop in SELA SDP14 conference. In the sessions I talked about SPAs and JavaScript unit testing.  In the workshop I talked about building scalable JavaScript applications. You can see the SPA slide deck and download the demos.You can see the Jasmine slide deck and download the demos. I want to thank all the attendees who came to here me!