E D R , A S I H C RSS

AngularJS

Difference between r1.3 and the current

@@ -17,3 +17,6 @@
</form>
</div>
}}}
 
== 역링크 ==
http://wiki.zeropage.org/wiki.php/Challengers3/140111



AngularJS


<div ng-app="">
{{todos}}
<h3 ng-init="todos=[]"> Topic </h3>
<ul>
    <li ng-repeat="todo in todos" class="done-{{todo.done}}">
    <input type="checkbox" ng-model="todo.done"/>
    {{todo.text}}
        <button ng-click="todos.splice($index,1)">x</button>
        </li>
</ul>
    <form ng-submit="test && todos.push({text:test,done:false});test=''">
        <input type="text" ng-model="test"/>
        <button>Input</button>
    </form>
</div>

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:30
Processing time 0.0349 sec