Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.0.3/angular.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body ng-app ng-controller='Ctrl'>
  <textarea ng-trim='off' name="" id="" cols="30" rows="10" ng-model='text'></textarea>
</body>
</html>
 
    function Ctrl($scope) {
      $scope.text='';
      
      $scope.$watch('text', function (newValue) {
        console.log(newValue);
      });
    }
Output

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

Dismiss x
public
Bin info
invispro
0viewers