Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app>
<head>
<meta charset=utf-8 />
<title>Angular Performance test by VoidCanvas.com</title>
</head>
<body>
  <div ng-controller="VoidCanvas">
    <h2>Hello Angular!</h2>
    
    <button ng-click="render()">Render</button>
    Total items: {{items.length}}
  
    <ul>
      <li ng-repeat="item in items">
        {{item.number}}
        <input ng-model="item.number">
      </li>
    </ul>
  </div> 
  
  <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js">
  </script>
</body>
</html>
 
function VoidCanvas($scope) {
  $scope.items = [];
 
  $scope.render = function() {
    for(var i = 0; i < 4000; i++) {
      $scope.items.push({number: i});
    }
  };
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
darkbaby123pro
0viewers