AngularFire2 - How to maintain logged in state after page refresh
问题 I'm using AngularFire2 for an app and I've gotten the registration/login functionality working with Firebase, however, every time I refresh the page, the logged in state is reset and won't persist. I can't quite find functionality to do this, though I feel I'm missing something very small. Can I use the AngularFireAuth to check on page load somewhere? Here is my auth provider code: import { Injectable } from '@angular/core'; import {Observable, Subject, BehaviorSubject} from "rxjs/Rx"; import