Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app>
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
  <script src="//code.jquery.com/jquery-1.9.1.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body ng-controller="HomeCtrl">
<div data-ng-click="hideElement()">Hide me</div>
</body>
</html>
 
function HomeCtrl($scope, $element) {
  $scope.hideElement = function(e) {
    $($element).hide();
  }
}
Output

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

Dismiss x
public
Bin info
mohamedriaspro
0viewers