title: How to get current value from a BehaviorSubject in AngularFire2?
body: <p>I'm using AngularFireDatabase to get part of my database like this <code>db.object('/accounts/'+this.cid);</code> where <code>this.cid</code> is a <code>BehaviorSubject</code> which can change. Am I going about this the wrong way?</p>
  
  <pre><code>cid: BehaviorSubject&lt;string&gt;;
  account: FirebaseObjectObservable&lt;any&gt;;
  constructor(private db: AngularFireDatabase) {
    this.cid = new BehaviorSubject&lt;string&gt;('fs2ejD4ds');
    this.account = db.object('/accounts/'+this.cid);
  </code></pre>
  
  <p>Basically whenever I run <code>this.cid.next('fhEj2jd')</code> I want it to change which object we're trying to reference in Firebase.</p>