diff options
Diffstat (limited to 'regression')
| -rw-r--r-- | regression/filter_repeater.html | 2 | ||||
| -rw-r--r-- | regression/issue-169.html | 4 | ||||
| -rw-r--r-- | regression/issue-352.html | 6 | ||||
| -rw-r--r-- | regression/issue-353.html | 2 | ||||
| -rw-r--r-- | regression/sanitizer.html | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/regression/filter_repeater.html b/regression/filter_repeater.html index 4160fc6a..0ff6111a 100644 --- a/regression/filter_repeater.html +++ b/regression/filter_repeater.html @@ -14,7 +14,7 @@ </ol> <p>Why doesn't the data goes back to the original?</p> <hr> - Input: <input type="text" name="filterName" id="filterInputField"/> + Input: <input type="text" ng:model="filterName" id="filterInputField"/> <br/> <table ng:eval="filtered_data = data.$filter(filterName)" style="border: 1px solid black"> <tr> diff --git a/regression/issue-169.html b/regression/issue-169.html index e18c4f2e..80902dc2 100644 --- a/regression/issue-169.html +++ b/regression/issue-169.html @@ -3,8 +3,8 @@ <script type="text/javascript" src="../src/angular-bootstrap.js" ng:autobind></script> <body> <span ng:init='x = {d:3}; x1 = {bar:[x,5]}; x1.bar[0].d = 4'> - <input name="x1.bar[0].d" type="text"></input> - <input name="x.d" type="text"></input> + <input ng:model="x1.bar[0].d" type="text"></input> + <input ng:model="x.d" type="text"></input> <span> {{x1}} -- {{x1.bar[0].d}}</span> </body> </html>
\ No newline at end of file diff --git a/regression/issue-352.html b/regression/issue-352.html index 3f061e1b..c93d4aa4 100644 --- a/regression/issue-352.html +++ b/regression/issue-352.html @@ -2,12 +2,12 @@ <html xmlns:ng="http://angularjs.org"> <script type="text/javascript" src="../build/angular.js" ng:autobind></script> <body ng:init="scope = { itemId: 12345 }"> - <input name="value" /><br /> + <input ng:model="value" /><br /> <a id="link-1" href ng:click="value = 1">link 1</a> (link, don't reload)<br /> <a id="link-2" href="" ng:click="value = 2">link 2</a> (link, don't reload)<br /> <a id="link-3" ng:href="#{{'123'}}" ng:click="value = 3">link 3</a> (link, reload!)<br /> - <a id="link-4" href="" name="xx" ng:click="value = 4">anchor</a> (link, don't reload)<br /> - <a id="link-5" name="xxx" ng:click="value = 5">anchor</a> (no link)<br /> + <a id="link-4" href="" ng:model="xx" ng:click="value = 4">anchor</a> (link, don't reload)<br /> + <a id="link-5" ng:model="xxx" ng:click="value = 5">anchor</a> (no link)<br /> <a id="link-6" ng:href="#/{{value}}">link</a> (link, change hash) </body> </html> diff --git a/regression/issue-353.html b/regression/issue-353.html index 8410adf4..e3569197 100644 --- a/regression/issue-353.html +++ b/regression/issue-353.html @@ -11,7 +11,7 @@ } Cntl.$inject = ['$route']; </script> - <body ng:controller="Cntl"> + <body ng:controller="Ctrl"> <a href="#/item1">test</a> <a href="#/item2">test</a> </body> diff --git a/regression/sanitizer.html b/regression/sanitizer.html index 775a6009..b44ae5ed 100644 --- a/regression/sanitizer.html +++ b/regression/sanitizer.html @@ -2,7 +2,7 @@ <html xmlns:ng="http://angularjs.org"> <script type="text/javascript" src="../src/angular-bootstrap.js" ng:autobind></script> <body> - <textarea name="html" rows="10" cols="100"></textarea> + <textarea ng:model="html" rows="10" cols="100"></textarea> <div>{{html|html}}</div> </body> </html>
\ No newline at end of file |
