oblador/angular-scroll — pull request #96 by jacksonrayhamilton (2014-12-09 23:00:28+00:00)
Title: Fix falsy error.

When doing `element.scrollTop(number, 0)`, due to an incorrect falsy value check, 0 would not be considered a valid animation duration. Suppose one wants to animate for 0 seconds, or at the very least expects a promise to be consistently returned from the function. This fixes that by allowing a duration of 0 seconds.