Now getting my Observable value in the requested time
<p>I declared an Observable:</p>

<pre><code>  isOn: Observable&lt;boolean&gt;;
</code></pre>

<p>in onInit I did:</p>

<pre><code>this.isOn = this.manager.currentState.map(state =&gt; state === StateType.typeOn);
</code></pre>

<p>and now I wanted to be able to update some input in the html file so to be able to sample it I understood I need to subscribe to it so I declared   <code>_currentState: Subscription;</code> and added in the onInit:</p>

<pre><code>this._currentState = this.isOn.subscribe(
      (retValue: Boolean) =&gt; {
        if (retValue) {
          this.curState = true;
        } else {this.curState = false;}
      }
    );
</code></pre>

<p>the problem occurs in the else right here above...its not setting the value to false. </p>

<p>and curState is what im questioning in my input to see it's value...but at certain action I did I didnt get the value I expected...</p>

<p>what am im doing wrong? im new to Observables so as much inputs I can get from you guys will help :) thanks</p>