Skip to content

Commit b1ae9ac

Browse files
committed
valid html
1 parent ba2331d commit b1ae9ac

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

app/partials/login.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div>
22
<label for="username">
33
UserName:
4-
<input type="text" ng-model="username">
4+
<input type="text" data-ng-model="username">
55
</label
66
<label for="password">
77
Password:
8-
<input type="password" ng-model="password">
8+
<input type="password" data-ng-model="password">
99
</label>
10-
<button ng-click="login()">Login</button>
10+
<button data-ng-click="login()">Login</button>
1111
</div>

app/partials/partial1.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
12
<p>This is the partial for view 1.
2-
<button ng-click='onclick()'>TEST</button>
3+
<button data-ng-click='onclick()'>TEST</button>
34
Hello {{user.name}}!
4-
<div ng-repeat="(key, value) in user">
5-
{{key}}: <input type="text" ng-model="user[key]">
5+
<div data-ng-repeat="(key, value) in user">
6+
{{key}}: <input type="text" data-ng-model="user[key]">
67
</div>
7-
<button ng-click='save()'>SAVE</button>
8-
</p>
8+
<button data-ng-click='save()'>SAVE</button>
9+
</p>

0 commit comments

Comments
 (0)