diff --git a/docs/api-reference.md b/docs/api-reference.md
index bdb0003b9..7025c7992 100644
--- a/docs/api-reference.md
+++ b/docs/api-reference.md
@@ -199,15 +199,32 @@ import {FirebaseAuth} from 'angularfire2';
@Component({
selector: 'auth-status',
template: `
-
You are logged in
- Please log in
+ You are logged in
+ Please log in
`
})
class App {
constructor (@Inject(FirebaseAuth) public auth: FirebaseAuth) {}
}
```
+Alternatively, if you wish to extend an existing AngularFire component to monitor authentication status:
+```
+ts
+import {AngularFire, FirebaseAuth} from 'angularfire2';
+@Component({
+ selector: 'auth-status',
+ template: `
+ You are logged in
+ Please log in
+ `
+})
+class App {
+ constructor(public af: AngularFire) {
+ this.af.auth.subscribe(auth => console.log(auth));
+ }
+}
+```
### FirebaseListObservable
Subclass of rxjs `Observable` which also has methods for updating