Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-controller="myCtrl">
  <p ng-repeat="item in longString.split(',')">
    {{item}}
  </p>
</body>
</html>
 
angular.module('myApp', [])
.controller('myCtrl', function($scope) {
  $scope.longString = 'Item 1, Item 2, Item 3';
});
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers