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>JS Bin</title>
</head>
  <body ng-app="deeme">
      
        <div editables></div>
        <script type="text/javascript">
            angular.module ("deeme", [])
            .directive("editables", ["$compile", function($compile){
                return {
                    restrict: "A",
                    link: function(scope, elmt, ats){
                        elmt.attr("ng-mouseover", "bager()");
                        console.log("linker run");
                        scope.bager = function(){
                            console.log("after linking");
                        };
                        $compile(elmt)(scope);
                    }
                }
            }
            
            ])
        </script>
    </body>
</html>
  
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers