<button ng-click="show = !show">Show</button> <div ng-show="show"> I am only visible when show is true. </div>