Fixed #153 with tests

This commit is contained in:
Max Lynch
2013-11-17 15:14:02 -06:00
parent 531044e9b0
commit ea2ff85e91
5 changed files with 58 additions and 4 deletions

View File

@ -4,6 +4,9 @@ angular.module('ionic.service.gesture', [])
return {
on: function(eventType, cb, $element) {
return window.ionic.onGesture(eventType, cb, $element[0]);
},
off: function(gesture, eventType, cb) {
return window.ionic.offGesture(gesture, eventType, cb);
}
};
}]);