Skip to content

Instantly share code, notes, and snippets.

@matsko
Last active December 27, 2015 09:19
Show Gist options
  • Save matsko/7303110 to your computer and use it in GitHub Desktop.
Save matsko/7303110 to your computer and use it in GitHub Desktop.
angular.module('disableAnimations', ['ngAnimate']).run(['$rootScope','$animate', function($rootScope, $animate) {
$animate.enabled(false);
$rootScope.$evalAsync(function() {
$animate.enabled(false);
});
}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment