Skip to content

Commit 8767f73

Browse files
TheBolmanatordavideast
authored andcommitted
docs(guide): Update 2-retrieving-data-as-objects.md (angular#1116)
1 parent 9f99a03 commit 8767f73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/2-retrieving-data-as-objects.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The guide below demonstrates how to retrieve, save, and remove data as objects.
88

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

11-
AngularFireDatabase is a service which can be 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

1313
If you've followed the earlier step "Installation and Setup" your `/src/app/app.component.ts` should look like below.
1414

@@ -33,7 +33,7 @@ In this section, we're going to modify the `/src/app/app.component.ts` to retre
3333

3434
## Create an object binding
3535

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

3838
There are two ways to create an object binding:
3939

@@ -52,7 +52,7 @@ const absolute = db.object('https://<your-app>.firebaseio.com/item');
5252
To get the object in realtime, create an object binding as a property of your component or service.
5353
Then in your template, you can use the `async` pipe to unwrap the binding.
5454

55-
Replace the FirebaseListObservable to FirebaseObjectObservable in your `/src/app/app.component.ts` as below.
55+
Replace the `FirebaseListObservable` to `FirebaseObjectObservable` in your `/src/app/app.component.ts` as below.
5656
Also notice the templateUrl changed to inline template below:
5757

5858
```ts

0 commit comments

Comments
 (0)