SyntaxFix
Write A Post
Hire A Developer
Questions
Very simple just do this:
<button ng-click="hideShow=(hideShow ? false : true)">Toggle</button> <div ng-if="hideShow">hide and show content ...</div>