JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ci.angularjs.org/job/angular.js-angular-master/229/artifact/build/pkg/0.10.7-e86bafec/angular-0.10.7-e86bafec.js"></script>
<yt:awesome></yt:awesome>
JavaScript
var myApp = angular.module('myApp', []);
WatchTray = function() {
console.log('woo hoo');
};
WatchTray.prototype.link = function(scope, element, attrs) {
console.log('linking', scope);
console.log(element);
};
myApp.directive('ytAwesome', function() {
return {
scope: true,
template: "kickass",
controller: WatchTray
};
});