title: can we have ng-show and ng-if in one div tag?
body: <p>Following code snippet does not work 
  Please suggest any other way of doing it</p>
  
  <pre><code>&lt;html&gt;
  `&lt;div id="tablediv" ng-model="ngtable"&gt;
  &lt;div ng-show="ngtable"&gt;
  &lt;div ng-if="currentdevicetype == 'condition1'"&gt;
  &lt;!-- Other code to display contents --&gt;
  &lt;/div&gt;`
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/html&gt; 
  </code></pre>