Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="App">
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
  <script src="http://code.angularjs.org/1.2.0rc1/angular.js"></script>
</head>
<body ng-controller="Ctrl">
  <table>
    <table-row />
  </table>
</body>
</html>
 
angular
.module('App',[])
.directive('tableRow',function(){
  return {
    restrict:'E',
    replace:true,
    template: '<tr><td>first cell</td><td>second cell</td></tr>'
  }
})
Output 300px

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

Dismiss x
public
Bin info
litpro
0viewers