I would like to use a factory instead of a controller for anonymously
authenticating users, but I'm having a hard time figuring out how to do
this properly.If a user is already authenticated, I don't want to
authenticate him or her again. What would be a good way to convert this AngularFire
from controller to a factory? Also, are there any good reasons to avoid
using factories or services for the authentication?

You received this message because you are subscribed to the Google Groups "Firebase + AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-angular+unsubscribe@googlegroups.com.
To post to this group, send email to firebase-angular@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-angular/95f34975-d32f-4fa0-a2b7-c372a74a96a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupfirebase-angular @
postedApr 1, '15 at 7:22a
activeApr 2, '15 at 3:09p

2 users in discussion

Kato Richardson: 2 posts Ken Davidson: 2 posts



site design / logo © 2021 Grokbase