{{ vm.mode == 'creating' ? 'Create Note' : 'Update Note' }}

clear
{{ vm.processing ? 'Saving...' : 'Save Note' }}