function animateRemoval() {
        animationRunner = $animateCss(element, {addClass: 'md-leave'});
        return animationRunner.start();
      }
For normal closes (eg clicks), animate the removal.
For forced closes (like $destroy events from navigation),
skip the animations.