Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body ng-app="myapp">
  <select ng-model="textidx">
    <option value="0">Level 0</option>
    <option value="1">Level 1</option>
  </select>
  <div ng-controller="MainCtrl">
    
    <div ng-repeat="text in texts[textidx]">
      <p>{{text}}</p>
    </div>
    
  </div>
</body>
</html>
 
var myapp = angular.module('myapp',[]);
myapp.controller('MainCtrl', ['$scope', function ($scope) {
  $scope.texts = [
    ['asdasdasd'],
    [
      'asdasdadsdfgfg',
      'rtytuiyuoihjbnb'
    ]
  ];
  
}]);
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers