  /**
   * Angular Mds initialization function that validates environment
   * requirements.
   */
  angular.module('material.core', ['ngAria'] )
    .run(function validateEnvironment() {

      if (angular.isUndefined( window.Hammer )) {
        throw new Error(
          '$mdSwipe requires HammerJS to be preloaded.'
        );
      }

    });





@@ -196,44 +196,37 @@
 if (
-angular.isUndefined( window.Hammer )
+typeof Hammer === 'undefined'
 ) %7B%0A
@@ -265,16 +265,18 @@
    '
-$mdSwipe
+ngMaterial
  req

check `typeof Hammer` instead of window.Hammer