# 3. Retrieving data as lists
> AngularFire synchronizes data as lists using the `AngularFireList` service.
The `AngularFireList` service is not created by itself, but through the `AngularFireDatabase` service.
The guide below demonstrates how to retrieve, save, and remove data as lists.
## Injecting the `AngularFireDatabase` service
**Make sure you have bootstrapped your application for AngularFire. See the Installation guide for bootstrap setup.**
AngularFireDatabase is a service which can be injected through the constructor of your Angular component or `@Injectable()` service.
In the previous step, we modified the `/src/app/app.component.ts` to retrieve data as an object. In this step, let's start with a clean slate.
Replace your `/src/app/app.component.ts` from previous step to look like below.
```ts
import { Component } from '@angular/core';
import { AngularFireDatabase } from '@angular/fire/database';
This file has been truncated. show original