docs(guide/forms): improve example

When explaining ng-model-options, there's no print of `user.data` to show
the difference between the default behaviour and updateOn: 'blur'
This commit is contained in:
Maxi Ferreira
2014-06-15 12:35:55 -03:00
committed by Brian Ford
parent 313d7956e4
commit 8199f4dbde

View File

@@ -213,6 +213,7 @@ only when the control loses focus (blur event).
<input type="text" ng-model="user.data" /><br />
</form>
<pre>username = "{{user.name}}"</pre>
<pre>userdata = "{{user.data}}"</pre>
</div>
</file>
<file name="script.js">