Load animation from animate.css after data is loaded

Hi, I’m using animate.css to animate my application. I load the data from firestore. Since it takes some 3sec to load the data, the animation is not shown. So, i need to show the animation after my data is loaded. Is there anyway to do this? I tried using ngClass and passing animate class after data is laoded but no luck. Kindly share your thoughts on this.