Following are the code snippets in which I am toggling the hideQA value, the value is changing properly in both condition but not hiding the divs properly if I am doing -
`<button ng-click="hideQA = !hideQA">Reset</button>`
But it is working correctly if I am changing the value from a method, like -
`<button ng-click="resetForm()">Reset</button>`
Can anyone explain the reason behind this ?
Working Plnkr - http://plnkr.co/edit/rIAAcibX2Ts1VaMWKQtc?p=preview