fixed ng-model binding for checkbox and radiobutton groups