Skip to content

Instantly share code, notes, and snippets.

@mg
Last active August 29, 2015 13:59
Show Gist options
  • Save mg/10523356 to your computer and use it in GitHub Desktop.
Save mg/10523356 to your computer and use it in GitHub Desktop.
mod.directive('', function() {
return {
restrict: 'AE',
priority: ,
template: '',
templateUrl: '.html',
replace: ,
transclude: ,
scope: ,
controller: function($scope, $element, $attrs, $transclude, INJECTABLES) { },
compile: function(element, attributes, transclude) {
return {
pre: function(scope. elem, attrs, controller) { },
post: function(scope. elem, attrs, controller) { }
};
// return function(scope, elem, attrs, controller) { };
},
link: function(scope, elem, attrs, controller) { }
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment