title: ngIf not updating DOM
body: <p>I have a variable <code>isLTEavailable</code> in my ts file inside a function. When the function is called, based on the a condition, <code>isLTEavailable</code>'s value changes and is logged correctly, but for some reason, it is not being updated in the DOM.</p>
  
  <p>Here's my ngif condition:</p>
  
  <pre><code>&lt;li class="nav-item dropdown" *ngIf="isLTEavailable"&gt;
  </code></pre>
  
  <p>Here's my ts function:</p>
  
  <pre><code>console.log("Lte --", lte_id)
  
  if (lte_id != undefined) {
      sessionStorage.setItem("lte_customer_id", lte_id.toString())
      this.isLTEavailable = true;
      console.log("isLTEavailable -----&gt; ", this.isLTEavailable)
  } else {
      sessionStorage.setItem("lte_customer_id", 'n/a')
      this.isLTEavailable = false;
      console.log("isLTEavailable -----&gt; ", this.isLTEavailable)    
  }
  </code></pre>
  
  <p>I printed the variable using string interpolation as well and it always shows true as its value even though console updates correctly. </p>
  
  <p>P.S. <code>isLTEavailable</code> is initialized as true.</p>