An illustration of a memory leak in a simple AngularJS app