title: Angular 2 and RxJS 5 Observable.share()
body: <p>Running <code>Angular 2 RC4</code> with <code>RxJS 5 beta 6</code>, I'm having a hard time figuring out why my observable is not shared across subscribers. I tried to follow instructions carefully to no avail.  My component is below, but you can see it run live <a href="http://plnkr.co/edit/xROeQggDFaufg2xi3U8D?p=preview" rel="nofollow noreferrer">at this Plunker</a></p>
  
  <p><strong>template</strong></p>
  
  <pre><code>&lt;div&gt; Toggle sub 1:
     &lt;button (click)="subOne=!subOne"&gt;{{subOne?'One is ON ':'One is OFF'}}&lt;/button&gt;
  &lt;/div&gt;
  &lt;div&gt; Toggle sub 2:
     &lt;button (click)="subTwo=!subTwo"&gt;{{subTwo?'Two is ON ':'Two is OFF'}}&lt;/button&gt;
  &lt;/div&gt;
  &lt;ul&gt;&lt;li *ngFor="let L of log.slice(-16)"&gt;{{L}}&lt;/li&gt;&lt;/ul&gt;
  </code></pre>
  
  <p><strong>class</strong></p>
  
  <pre><code>_subOne = false;
  get subOne(){return this._subOne};
  set subOne(val){
      this._subOne = val;
      //if set to true, subscribe
      if(val) this.subscriptions.one =
          this.source().subscribe(d=&gt;this.print('One sees '+d));
  
      //else, unsubscribe
      else this.subscriptions.one.unsubscribe();
  }
  
  _subTwo = false;
  get subTwo(){return this._subTwo};
  set subTwo(val){
      this._subTwo = val;
      if(val) this.subscriptions.two =
          this.source().subscribe(d=&gt;this.print('Two sees '+d));
      else this.subscriptions.two.unsubscribe();
  }
  
  subscriptions = {'one':null,'two':null};
  source(){
      return Observable.interval(3000)
          .do(()=&gt;this.print("*******EMITTING*******")).share();
  }
  
  print(value){this.log.push(value);}
  log=[];
  </code></pre>
  
  <p><strong>Output</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Le86J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Le86J.png" alt="enter image description here"></a></p>
  
  <p>I expected the subscribers to share the same observable since I use the <code>.share()</code> operator. Why are they not?</p>