Skip to content

Commit 254cc14

Browse files
jamesdanielsdavideast
authored andcommitted
AngularFireDatabase is a service
1 parent dc6781f commit 254cc14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/3-retrieving-data-as-lists.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# 3. Retrieving data as lists
22

33
> AngularFire2 synchronizes data as lists using the `FirebaseListObservable`.
4-
The `FirebaseListObservable` is not created by itself, but through the `AngularFire.database` module.
4+
The `FirebaseListObservable` is not created by itself, but through the `AngularFire.database` service.
55
The guide below demonstrates how to retrieve, save, and remove data as lists.
66

7-
## Injecting the AngularFireDatabase module
7+
## Injecting the AngularFireDatabase service
88

99
**Make sure you have bootstrapped your application for AngularFire2. See the Installation guide for bootstrap setup.**
1010

11-
AngularFireDatabase is an injectable module, which is injected through the constructor of your Angular component or `@Injectable()` service.
11+
AngularFireDatabase is a service which can be injected through the constructor of your Angular component or `@Injectable()` service.
1212
In the previous step, we modified the `/src/app/app.component.ts` to retrieve data as object. In this step, let's start with a clean slate.
1313

1414
Replace your `/src/app/app.component.ts` from previous step to look like below.
@@ -33,7 +33,7 @@ In this section, we're going to modify the `/src/app/app.component.ts` to retre
3333

3434
## Create a list binding
3535

36-
Data is retrieved through the `AngularFireDatabase` module.
36+
Data is retrieved through the `AngularFireDatabase` service.
3737

3838
There are three ways to create a list binding:
3939

0 commit comments

Comments
 (0)