text: 'use strict';
  
  /**
   * Animated load block
   */
  (function () {
    'use strict';
  
    angular.module('BlurAdmin.theme').directive('zoomIn', zoomIn);
  
    /** @ngInject */
    function zoomIn($timeout, $rootScope) {
      return {
        restrict: 'A',
        link: function link($scope, elem) {
          var delay = 1000;
  
          if ($rootScope.$pageFinishedLoading) {
            delay = 100;
          }
  
          $timeout(function () {
            elem.removeClass('full-invisible');
            elem.addClass('animated zoomIn');
          }, delay);
        }
      };
    }
  })();