Angular Show Hide

ng-hide and ng-show

by Muhammad Irfan Khan

HTML

<div ng-app="">
 
  <a href="" ng-click="showme=!showme">Show</a>
  
  

    <p ng-hide="showme">EditView</p>
    <h2 ng-show="showme">List View</h2>

  
</div>