angular/angular.js — pull request #3690 by matsko (2013-08-21 20:09:20+00:00)
Title: fix(ngAnimate): only execute a timeout when transitions or keyframe animations are used

ngAnimate causes a 1ms flicker on the screen when no CSS animations are present on the element.
The solution is to change $animate to only use $timeouts when a duration is found on the element
before the transition/keyframe animation takes over.