angular/angular.js — pull request #5110 by wjtk (2013-11-24 23:25:55+00:00)
Title: move use of $window to controller.

Example doesn't work now. I got error that one can't use $window in expression, so I moved its use to controller.