I want to hide a div and show it on button click using angularJS? I used ng-show and ng-hide but it\'s not working
<div ng-show="anyVariable"></div> <button ng-click="anyVariable = !anyVariable">Click</button>