I am trying to create a toggle button in Angular. What I have so far is:
This is the simplest answer I've found. I haven't tried it with animations because I just use it for quick setup.
toggle show stuff
with scopeVar=scopeVar!=true undefined becomes true.
scopeVar=scopeVar!=true