javascript - How does angular-animation animate after data is loaded?
为情所困2017-05-15 17:14:06
0
1
583
When using ngAnimation's ng-enter, the animation is always performed first, and the routed data comes in after the animation is completed. I don't know how to do it?
You can add an ng-if to load the DOM when there is data. This should ensure that there is data when the animation is executed