Skip to content

Instantly share code, notes, and snippets.

@dulichan
Created March 15, 2015 14:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dulichan/9cf0136024aefcddded9 to your computer and use it in GitHub Desktop.
<div class="header">
<h1>Jaggery intro</h1>
<ul ng-repeat="todo in todos">
<li><input type="checkbox" ng-model="todo.status"> <span ng-model="todo.text">{{todo.text}}</span></li>
</ul>
</div>
<div class="header">
<h1>Jaggery intro</h1>
<ul ng-repeat="todo in todos">
<li><input type="checkbox" ng-model="todo.status"> <span ng-model="todo.text">{{todo.text}}</span></li>
</ul>
<form ng-submit="addTodo()">
<input type="text" ng-model="todoText" placeholder="add new todo here">
<input type="submit" value="add" class="btn-primary">
</form>
</div>
<div class="header">
<h1>Jaggery intro</h1>
<ul ng-repeat="todo in todos">
<li><input type="checkbox" ng-click="check(todo)" ng-model="todo.status"> <span ng-model="todo.text">{{todo.text}}</span></li>
</ul>
<form ng-submit="addTodo()">
<input type="text" ng-model="todoText" placeholder="add new todo here">
<input type="submit" value="add" class="btn-primary">
</form>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment