()
| 1656 | } |
| 1657 | |
| 1658 | function prepareOutAnimation() { |
| 1659 | var animator = $animateCss(clone, { |
| 1660 | addClass: NG_OUT_ANCHOR_CLASS_NAME, |
| 1661 | delay: true, |
| 1662 | from: calculateAnchorStyles(outAnchor) |
| 1663 | }); |
| 1664 | |
| 1665 | // read the comment within `prepareRegularAnimation` to understand |
| 1666 | // why this check is necessary |
| 1667 | return animator.$$willAnimate ? animator : null; |
| 1668 | } |
| 1669 | |
| 1670 | function getClassVal(element) { |
| 1671 | return element.attr('class') || ''; |
no test coverage detected