title: Angularjs ng-show for table
body: <p>I am trying to make a button to show up only when there's a table in ng-view.
  How do i code it to do that? How should the condition be written to achieve that? 
  Thanks for the help in advance!</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;main ng-view&gt;
  &lt;/main&gt;
  &lt;button onclick="exportTableToExcel('tableToCsv')" type="button contact- 
  button" class="btnDL" ng-show="toDLTable()"&gt;XLSX Download&lt;/button&gt;
  </code></pre>