ngAnimate.ngAnimateSwap (directive)

Improve this Doc View Source ngAnimateSwap

  1. directive in module ngAnimate

ngAnimateSwap is a animation-oriented directive that allows for the container to be removed and entered in whenever the associated expression changes. A common usecase for this directive is a rotating banner or slider component which contains one image being present at a time. When t