(service in module
A reference to the browser's
window object. While
it is a global variable. In angular we always refer to it through the
$window service, so it may be overriden, removed or mocked for testing.
All expressions are evaluated with respect to current scope so they don't suffer from window globality.