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.0.7/angular.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div ng-controller="MainCtrl">
    {{ name }}
  </div>
</body>
</html>
 
var app = angular.module('myApp', []);
app.config(['$controllerProvider', function($controllerProvider) {
    $controllerProvider.register('MainCtrl', ['$scope', function ($scope) {
      $scope.name = 'Will';
    }]);
}]);
Output

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

Dismiss x
public
Bin info
willhpro
0viewers