Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jonnybojangles/7504987 to your computer and use it in GitHub Desktop.
Save jonnybojangles/7504987 to your computer and use it in GitHub Desktop.
angular.module('youtubeWidget.directives', []).
directive('youtubeWidgetApp', function(){
return {
restrict: 'C',
templateUrl: 'youtubeWidgetApp.html'
}
}).
run(function($templateCache){
$templateCache.put('youtubeWidgetApp.html', '' +
'<div class="mod-youtubeWidget">' +
'This is the main youtubeWidget Mod Container ' +
'</div>' +
'');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment