Testing ng-click

Please read the explanation before clicking...
=> | {{x}} |
Script:
<button ng-click="x = !x"> This button toggles the Boolean value of x</button>
 {/{x}/}

Explanation

As you recall from JavaScript, a value is always a Boolean true
unless it is zero, false, null or undefined in which of these cases the value is false.
This is an important concept to realize in order to understand our next project.