()
| 1422 | } |
| 1423 | |
| 1424 | function prepareOutAnimation() { |
| 1425 | var animator = $animateCss(clone, { |
| 1426 | addClass: NG_OUT_ANCHOR_CLASS_NAME, |
| 1427 | delay: true, |
| 1428 | from: calculateAnchorStyles(outAnchor) |
| 1429 | }); |
| 1430 | |
| 1431 | // read the comment within `prepareRegularAnimation` to understand |
| 1432 | // why this check is necessary |
| 1433 | return animator.$$willAnimate ? animator : null; |
| 1434 | } |
| 1435 | |
| 1436 | function getClassVal(element) { |
| 1437 | return element.attr('class') || ''; |
no test coverage detected