title: using ng-if directive in angularjs?
body: <p>is it possible to write the following code using the ng-if directive insteade of ng-show?</p>
  
  <pre><code>&lt;tbody data-ng-repeat="storedata in storedata.data"&gt;
          &lt;tr class="table_row_{{childItem}}"&gt;            
              &lt;td class="table_col1" &gt;
                  &lt;div ng-show="!storedata.hideButtons" class="btn-group  pull-right"&gt;
                      &lt;button type="button" class="btn btn-default" aria-label="Edit" ng-click="openStore(storedata.storeId, storedata)"&gt;&lt;span class="glyphicon glyphicon-pencil" aria-hidden="true"&gt;&lt;/span&gt;&lt;/button&gt;
                      &lt;button type="button" class="btn btn-default" aria-label="New" ng-click="openStore(storedata.storeId)"&gt;&lt;span class="glyphicon glyphicon-plus" aria-hidden="true"&gt;&lt;/span&gt;&lt;/button&gt;
                  &lt;/div&gt;
              &lt;/td&gt;
  </code></pre>