Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="myApp" ng-controller="myCtrl">
<head>
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div ng-repeat="foo in ['a','b','c']" ng-init="loading=[]">
    <p ng-click="loading[$index]=true">Click me! Item Value: {{foo}}<p>
    <p ng-show="loading[$index]">Item {{$index}} loading...</p>
  </div>
</body>
</html>
 
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope) {
});
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers