function prepareElement(element) {
      return element && angular.element(element);
    }
@ngdoc provider
@name $animateProvider
@description

The `$animateProvider` allows developers to register JavaScript animation event handlers directly inside of a module.
When an animation is triggered, the $animate service will query the $animate service to find any animations that match
the provided name value.

Requires the {@link ngAnimate `ngAnimate`} module to be installed.

Please visit the {@link ngAnimate `ngAnimate`} module overview page learn more about how to use animations in your application.