Yeah, I guess because this isn't manipulating DOM *elements* then it sounds reasonably acceptable. [See this.](http://stackoverflow.com/questions/17925547/dom-manipulation-in-angularjs-services)

Even so, returning window.scrollTo seems kinda weird. I'd do this as two lines instead of one compound statement. Returning a value implies that some caller expects to receive a meaningful value from the function call.