title: Why getter triggers sometimes in template?
body: <p>There is a component in which the children are activated by the ngIf condition.</p>
  <p>Wrote a getter to check how many times it jerks:</p>
  <pre><code>{{test}}
  &lt;app-comp1 * ngIf = &quot;one&quot;&gt; &lt;/app-comp1&gt;
  &lt;app-comp2 * ngIf = &quot;two&quot;&gt; &lt;/app-comp2&gt;
  </code></pre>
  <p>Getter:</p>
  <pre><code>   get test () {
       console.log ('1')
       return '1'
     }
  </code></pre>
  <p>When switching tabs - changing one, two variables - the getter is called 4 times.</p>
  <p>What could be the reason?
  The component has <code>changeDetection: ChangeDetectionStrategy.OnPush</code></p>