# Display a selection list This tutorial shows you how to: * Expand the Tour of Heroes application to display a list of heroes. * Allow users to select a hero and display the hero's details.
For the sample application that this page describes, see the .
## Create mock heroes The first step is to create some heroes to display. Create a file called `mock-heroes.ts` in the `src/app/` directory. Define a `HEROES` constant as an array of ten heroes and export it. The file should look like this. ## Displaying heroes Open the `HeroesComponent` class file and import the mock `HEROES`. In `HeroesComponent` class, define a component property called `heroes` to expose the `HEROES` array for binding. ### List heroes with `*ngFor` Open the `HeroesComponent` template file and make the following changes: 1. Add an `

` at the top. 2. Below the `

`, add a `