diff options
Diffstat (limited to 'docs/examples/settings.html')
| -rw-r--r-- | docs/examples/settings.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/settings.html b/docs/examples/settings.html index 2fa5dca8..74500b35 100644 --- a/docs/examples/settings.html +++ b/docs/examples/settings.html @@ -1,13 +1,13 @@ <label>Name:</label> -<input type="text" name="form.name" ng:required> +<input type="text" ng:model="form.name" required> <div ng:repeat="contact in form.contacts"> - <select name="contact.type"> + <select ng:model="contact.type"> <option>url</option> <option>email</option> <option>phone</option> </select> - <input type="text" name="contact.url"> + <input type="text" ng:model="contact.url"> [ <a href="" ng:click="form.contacts.$remove(contact)">X</a> ] </div> <div> @@ -15,4 +15,4 @@ </div> <button ng:click="cancel()">Cancel</button> -<button ng:click="save()">Save</button>
\ No newline at end of file +<button ng:click="save()">Save</button> |
