Angular 2 View will not update after variable change in subscribe
<p>I have a problem where my view will not change when I update my variable in my observable subscription. I am trying to show a loading spinner while I wait for a response from my backend and then display the response, but the spinner won't hide. My subscription looks like this:</p>

<pre><code>this.isRequesting = "true";
this.questionService.onSubmit(form, this.questions).subscribe( (value) =&gt; {
        this._ngZone.run( () =&gt; {
             this.fileLocation = JSON.stringify(value);
             console.log(this.fileLocation);
            this.isRequesting = "false";
            console.log(this.isRequesting);
        });
    });
</code></pre>

<p>And my html for this component looks like this:</p>

<pre><code>&lt;spinner *ngIf="isRequesting=='true'"&gt;&lt;/spinner&gt;
</code></pre>

<p>I can see that isRequesting changes to "false" in my console after I get a response back from the backend (Springboot), but the view still does not change. The spinner was from <a href="http://tobiasahlin.com/spinkit/" rel="noreferrer">SpinKit</a> and I modified this <a href="https://manuel-rauber.com/2016/01/05/angular-2-spinner-component/" rel="noreferrer">tutorial</a> for my spinner to work.</p>

<p>I have tried:</p>

<ol>
<li>The way in the tutorial (with stopRefreshing() in the error and complete parameters of the observable)</li>
<li>ngZone to force my view to update.</li>
</ol>

<p>Does anyone have any ideas on how to get my view to update or any way to get my spinner to hide after I get a response from my backend? </p>