AngularJS Example:

by kiokotzu

HTML

<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<div ng-app>
  <div ng-controller="TodoCtrl">
        <div ng-repeat="(val, item) in todos">
            {{todos[val].text}}
            {{todos2[val].text}}
        </div>
  </div>
</div>

CSS

.done-true {
  text-decoration: line-through;
  color: grey;
}

JavaScript

function TodoCtrl($scope) {
  $scope.todos = [
    {text:'learn angular1', done:true},
    {text:'build an angular app', done:false}];
  $scope.todos2 = [
    {text:'learn angular2', done:true},
    {text:'build an angular app', done:false}];
}