Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update api-reference.md (authentication usage) (angular#347)
under: Subscribing to Authentication State *ng-if was replaced with *ngIf (the correct Angular2 syntaxt) an extra usage was added to make it more fluid for components with AngularFire already, instead of a new component for FirebaseAuth. Fits in better with https://github.com/angular/angularfire2/blob/master/docs/5-user-authentication.md Finally, not sure if `@Inject(FirebaseAuth)` is necessary as it seems to work without it on my machine, but left it in the original usage (would probably also have to include an import statement for it in the original usage; I'll leave that to the original author.
- Loading branch information