Quick fix for HammerJS 1.1 breaking ngDialog

Alternatively, there can be
```Javascript
if(hammerTime.destroy) {
    hammerTime.destroy();
}
```
Which could be a little nicer.
Or maybe check `window.Hammer.VERSION`.