diff --git a/docs/content/guide/migration.ngdoc b/docs/content/guide/migration.ngdoc index 85192d6ec4b5..a9bb81b0812d 100644 --- a/docs/content/guide/migration.ngdoc +++ b/docs/content/guide/migration.ngdoc @@ -262,7 +262,6 @@ Before: $scope.resetWithCancel = function (e) { if (e.keyCode == 27) { $scope.myForm.myInput1.$cancelUpdate(); - $scope.myValue = ''; } }; ``` @@ -273,7 +272,6 @@ After: $scope.resetWithCancel = function (e) { if (e.keyCode == 27) { $scope.myForm.myInput1.$rollbackViewValue(); - $scope.myValue = ''; } } ```