Skip to content

Commit e04d0d5

Browse files
jamesdanielsdavideast
authored andcommitted
Inject AngularFireDatabase
1 parent 4ff9599 commit e04d0d5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/1-install-and-setup.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,15 @@ export class AppModule {}
104104
```
105105

106106

107-
### 5. Inject AngularFire
107+
### 5. Inject AngularFireDatabase
108108

109109
Open `/src/app/app.component.ts`, and make sure to modify/delete any tests to get the sample working (tests are still important, you know):
110110

111111
```ts
112112
import { Component } from '@angular/core';
113113
import { AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database';
114114

115-
116115
@Component({
117-
118116
selector: 'app-root',
119117
templateUrl: 'app.component.html',
120118
styleUrls: ['app.component.css']
@@ -136,7 +134,6 @@ import { Component } from '@angular/core';
136134
import { AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database';
137135

138136
@Component({
139-
140137
selector: 'app-root',
141138
templateUrl: 'app.component.html',
142139
styleUrls: ['app.component.css']

0 commit comments

Comments
 (0)