Animating lists in Angular using stagger animations
No matter what web application you build today, you are going to implement some sort of list most likely. And to make those lists even better, why not implement an elegant animation with them? In this recipe, you'll learn how to animate lists in Angular using stagger animations.
Getting ready
The project for this recipe resides in chapter04/start_here/animating-lists
:
- Open the project in Visual Studio Code.
- Open the terminal and run
npm install
to install the dependencies of the project. - Once done, run
ng serve -o
.
This should open the app in a new browser tab. Log in to the app as an employee, and you should see the app as follows:
Now that we have the app running locally, let's see the steps of the recipe in the next section.
How to do it…
We have an app right now that has a list...