driftyco/ionic — pull request #1405 by evenemento (2014-05-15 16:00:05+00:00)
Title: Prevent slide right on last and left on first

When continuous was disabled, user could slide right on last or left on first and they received empty view.

Problem was of the order of operations which calculate isPastBounds.

a = true
b = true
c = false
d = false

earlier it was calculate:

a && b | c && d = true | false && false = true && false = false

after change

(a && b) | (c && d) = true | false = true