Both of these inputs are only updated if they are blurred. Hitting escape should empty them. Follow these steps and observe the difference:

  1. Type something in the input. You will see that the model is not yet updated
  2. Press the Escape key.
    1. In the first example, nothing happens, because the model is already '', and no update is detected. If you blur the input, the model will be set to the current view.
    2. In the second example, the pending update is cancelled, and the input is set back to the last committed view value (''). Blurring the input does nothing.

Without $rollbackViewValue():

value1: "{{ model.value1 }}"

With $rollbackViewValue():

value2: "{{ model.value2 }}"