Added Angular onSnapBack directive