Created
July 16, 2017 02:23
-
-
Save gpincheiraa/2fd40ed1cc0ffe432c3405360dd3e938 to your computer and use it in GitHub Desktop.
todoList.component.html - First Impressions using jest for TDD over AngularJS > 1.5.x — Part I
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="todo-list"> | |
<div ng-repeat="todo in $ctrl.todosList track by $index"> | |
<label> | |
<input type="checkbox" ng-model="todo.completed"> {{todo.name}} | |
<button ng-click="$ctrl.deleteTodo($index)">x</button> | |
</label> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment