Click the button without entering information:

{{demoCtrl.member | json}}

{{demoCtrl.member.comment}}
alert() will be called only if validation is passed: action should be confirmed too: {{ 'authenticate.login.header.forgotPassword' | translate }}
if empty string - value will be undefined:
undefined if empty: {{demoCtrl.undefinedifempty | json}}
Form is autosaved everytime it is changed - see network activity