Skip to content

Instantly share code, notes, and snippets.

@johnlindquist
Created April 26, 2012 20:53
Show Gist options
  • Save johnlindquist/2503092 to your computer and use it in GitHub Desktop.
Save johnlindquist/2503092 to your computer and use it in GitHub Desktop.
angular bug
<!doctype html>
<html ng-app="jl">
<head>
<title></title>
<script type="text/javascript" src="lib/angular-1.0.0rc6.js"></script>
<script type="text/javascript">
angular.module('jl', [])
.directive('jlMyComponent', function () {
return {
restrict: 'E',
scope:{
myBind: 'bind'
}
}
})
</script>
</head>
<body>
<div>
<!-- don't add a 'my-bind' -->
<jl-my-component></jl-my-component>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment