Skip to content

Conversation

@ChrisCurrin
Copy link
Contributor

under: Subscribing to Authentication State
*ng-if was replaced with *ngIf (the correct Angular2 syntax)
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.

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.
@davideast
Copy link
Collaborator

Thanks for the PR @Chris-crisur!

@davideast davideast merged commit eab7627 into angular:master Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants