durated/angular-scroll — pull request #35 by zakj (2014-05-16 06:40:56+00:00)
Title: Ensure scrollToAnimated always returns a promise

Previously, if no scroll was necessary, it simply returned (null) before
creating a deferred object. Relying on a promise (with code like
`.scrollToElement(...).then(...)`) could fail.