Quick fix for HammerJS 1.1 breaking ngDialog

It does look like one, but my project is using Hammer JS v.1.1.3, which seems to lack destroy() method, so I can't close a dialog.
Can't switch to Hammer v.2 because it introduces a whole lot of bugs.