<!DOCTYPE html>
<html lang="en" ng-app="DemoApp">
<head>
    <meta charset="utf-8">
    <title>Angular ui-select</title>

    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>

    <!-- https://github.com/angular-ui/ui-utils/blob/master/modules/keypress/keypress.js -->
    <script src="keypress.js"></script>
    
    <script src="../src/select.js"></script>
    <script src="demo.js"></script>

    <link rel="stylesheet" href="../src/select.css"/>

</head>
<body ng-controller="MainCtrl">

    <p>
    Selected: {{data.custom}}
    </p>

    <ui-select ng-model="data.custom">
      <li 
        ng-repeat="item in data.items | filter : $select.search" 
        ng-class="{highlight:$select.index==$index}" 
        ng-click="$select(item)" 
        ng-mouseover="$select.index=$index">
        <h4>{{item.title}}</h4>
      </li>
    </ui-select>


</body>
</html>
<!DOCTYPE html>
<html lang="en" ng-app="DemoApp">
<head>
    <meta charset="utf-8">
    <title>Angular ui-select</title>

    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script>

    <!-- https://github.com/angular-ui/ui-utils/blob/master/modules/keypress/keypress.js -->
    <script src="keypress.js"></script>
    
    <script src="../src/select.js"></script>
    <script src="demo.js"></script>

    <link rel="stylesheet" href="../src/select.css"/>

</head>
<body ng-controller="MainCtrl">

    <p>
    Selected: {{data.custom}}
    </p>

    <ui-select ng-model="data.custom">
      <li 
        ng-repeat="item in data.items | filter : $select.search" 
        ng-class="{highlight:$select.index==$index}" 
        ng-click="$select(item)" 
        ng-mouseover="$select.index=$index">
        <h4>{{item.title}}</h4>
      </li>
    </ui-select>


</body>
</html>
Update demo to angular v1.2.0
Update demo to angular v1.2.0
