title: What is the equivalent of ngShow and ngHide in Angular 2+?
body: <p>I have a number of elements that I want to be visible under certain conditions.</p>
  <p>In AngularJS I would write</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div ng-show=&quot;myVar&quot;&gt;stuff&lt;/div&gt;
  </code></pre>
  <p>How can I do this in Angular 2+?</p>