更新输入框:

在失去焦点时绑定输入框的值到 scope 变量中:

{{name}}

该实例演示了如何使用 ng-model-options 指令绑定在失去焦点时输入框的值到 scope 变量中。