Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<div class="col-md-8 col-md-offset-2">
<form class="form-horizontal" role="form">
<div class="form-group form-group-md">
<div class="col-md-10">
<input type="text" class="form-control" ng-model="newTodo.description">&nbsp;
<button class="btn btn-primary" ng-click="addTodo(newTodo)">Add</button>
<table class="table table-striped table-bordered table-hover">
<th width="70%">Item</th>
<tr ng-repeat="todo in todos">
<td>{{todo.createdOn | date}}</td>
<td><button class="btn btn-danger" ng-click="deleteTodo(todo)">Delete</button></td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.