title: ng-if or ng-show to hide and show a DIV?
body: <p>The code I am working on has this:</p>
  
  <pre><code>&lt;div ng-if="cos.connectMessage" style="text-align: center;" class="ng-scope"&gt;
      Unable to establish a connection to the localhost server for 5 minutes.&lt;/div&gt;
  </code></pre>
  
  <p>Is there any advantage to using ng-show or ng-if to control the visibility of this message?</p>