AngularJs: why doesn't ng-switch update when I use ng-click?

Viewed 4049

I tried using ng-click to update the variable used in ng-switch, but ng-switch doesn't seem to have picked up the change. See the example here: http://plnkr.co/edit/jx8DNlrJDuaUBKVwZQtQ

What am I doing wrong?

2 Answers
Related