Quick fix for HammerJS 1.1 breaking ngDialog

@CamaroSS yes, please, update to look like:

```javascript
hammerTime.destroy && hammerTime.destroy()
```

But I don't like the idea that something could not be destroyed. I didn't use Hammer but I think that there should be an API  for that purpose in this version as well.