an AngularJS service, reacting to window (re)size