aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngBind.js
diff options
context:
space:
mode:
authorIgor Minar2012-04-04 15:56:12 -0700
committerIgor Minar2012-04-04 15:56:15 -0700
commitfdf17d729fa7651e88dc5f27c40b8de875a34a55 (patch)
tree397c761a463488bb625ba9b99a51f77991b19d2c /src/ng/directive/ngBind.js
parent85776c0d37316c5aaecd84eedec275bac2cd0298 (diff)
downloadangular.js-fdf17d729fa7651e88dc5f27c40b8de875a34a55.tar.bz2
fix(docs): remove ngModelInstant from all examples
just fixing leftover code after the removal of ngModelInstant
Diffstat (limited to 'src/ng/directive/ngBind.js')
-rw-r--r--src/ng/directive/ngBind.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/directive/ngBind.js b/src/ng/directive/ngBind.js
index 32be2f4b..81541347 100644
--- a/src/ng/directive/ngBind.js
+++ b/src/ng/directive/ngBind.js
@@ -26,7 +26,7 @@
}
</script>
<div ng-controller="Ctrl">
- Enter name: <input type="text" ng-model="name" ng-model-instant><br>
+ Enter name: <input type="text" ng-model="name"><br>
Hello <span ng-bind="name"></span>!
</div>
</doc:source>
@@ -122,8 +122,8 @@ var ngBindHtmlDirective = ['$sanitize', function($sanitize) {
}
</script>
<div ng-controller="Ctrl">
- Salutation: <input type="text" ng-model="salutation" ng-model-instant><br>
- Name: <input type="text" ng-model="name" ng-model-instant><br>
+ Salutation: <input type="text" ng-model="salutation"><br>
+ Name: <input type="text" ng-model="name"><br>
<pre ng-bind-template="{{salutation}} {{name}}!"></pre>
</div>
</doc:source>