title: How to show/hide if variable is null
body: <p>I'm wanting to show/hide a div based on whether a variable is null or not.</p>
  
  <pre><code>&lt;div ng-show="myvar"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Note: the variable in my case is an object.</p>
  
  <p>A very simple question, but I can't seem to make it work.</p>
  
  <p>Thanks.</p>