function computeTimings(node, className, cacheKey, allowNoDuration) {
      var timings = computeCachedCssStyles(node, className, cacheKey, allowNoDuration, DETECT_CSS_PROPERTIES);
      var aD = timings.animationDelay;
      var tD = timings.transitionDelay;
      timings.maxDelay = aD && tD
          ? Math.max(aD, tD)
          : (aD || tD);
      timings.maxDuration = Math.max(
          timings.animationDuration * timings.animationIterationCount,
          timings.transitionDuration);

      return timings;
    }
@ngdoc function
@name pascalprecht.translate.$translateProvider#useMissingTranslationHandler
@methodOf pascalprecht.translate.$translateProvider

@description
Expects a factory name which later gets instantiated with `$injector`.
This method can be used to tell angular-translate to use a custom
missingTranslationHandler. Just build a factory which returns a function
and expects a translation id as argument.

Example:
<pre>
 app.config(function ($translateProvider) {
   $translateProvider.useMissingTranslationHandler('customHandler');
 });

 app.factory('customHandler', function (dep1, dep2) {
   return function (translationId) {
     // something with translationId and dep1 and dep2
   };
 });
</pre>

@param {string} factory Factory name