set variable in $watch sometimes fails?

Viewed 546

Using Angular 1.0.7:

I've a directive which is meant to display a styled checkbox.

See plunkr here.

Sometimes (and not always) my watcher doesnt update one of my scope's variable see:

Here is a failing sequence:

  • foo
  • bar
  • all
  • foo
  • bar

enter image description here

I wonder why the update doesnt occur.

2 Answers
Related