angular-ui/bootstrap — pull request #2523 by Nimaen (2014-07-29 09:08:33+00:00)
Title: Delay collapse animation

By adding a timeout and delaying the collapse / expand in the next render loop, it allows the content to be correctly measured and therefore, the animation appears to be less sluggish.