Example for referencing AngularJS $rollbackViewValue() in controller
Project
index.html
script.js
backing
Plunker
index.html
1
<!DOCTYPE
html
>
Enter to Rename, Shift+Enter to Preview
Preview