Fix checkboxes for ng-model.  #333