Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-controller="appController">
  <button ng-click="showEnterKeyField = !showEnterKeyField">btn {{showEnterKeyField}}</button>
  
</body>
</html>
 
angular.module('myApp', [])
.controller('appController', [ '$scope', function ($scope) { 
  
  $scope.showEnterKeyField = false;
  
  $scope.$watch('showEnterKeyField', function(val) {
    console.log(val);
}, true);
  
}]);
Output 300px

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

Dismiss x
public
Bin info
naeramarth7pro
0viewers