EDITABLE CODE:
LiveDemo:AngularJS Forms : Getting the User Input Back
Note:When the state of the box changes, the value within the attributes are applied.