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>ng-show</title>
</head>
<body>
  <div ng-app="">
    Click me: <input type="checkbox" ng-model="checked"><br/>
    Show: <span ng-show="checked">I show up when your checkbox is checked.</span> <br/>
    Hide: <span ng-hide="checked">I hide when your checkbox is checked.</span>
  </div>
</body>
</html>
 
.ng-invalid { border: 1px solid red; }
Output

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

Dismiss x
public
Bin info
annaismepro
0viewers