AngularJS Example:

by Gowtham Reddy

HTML

<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<div ng-app>
  <h2>Todo</h2>
  <div ng-controller="TodoCtrl">
    {{name}}
  </div>
</div>

CSS

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

JavaScript

function TodoCtrl($scope) {
  $scope.name = "gowtham"
}