docs: function(element, doneCallback) {
            cancelChildAnimations(element);
            this.enabled(false, element);
            $rootScope.$$postDigest(function() {
              performAnimation('leave', 'ng-leave', element, null, null, function() {
                $delegate.leave(element);
              }, doneCallback);
            });
          }