AngularJS Example:

by Aaron Zhang

HTML

<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<div ng-app>
    <div ng-controller="demoController">
      <div ng-repeat="item in ['中文','中文2','english']">
          <div ng-mouseover="alt(item)">MOVE HERE</div>
      </div>
    </div>
</div>

JavaScript

function demoController($scope) {
    $scope.alt = function(foo){
        alert(foo);
    };
}