Skip to content

Instantly share code, notes, and snippets.

@MariMax
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save MariMax/984cfd09baa4783087ae to your computer and use it in GitHub Desktop.

Select an option

Save MariMax/984cfd09baa4783087ae to your computer and use it in GitHub Desktop.
directiveTemplate
(function(angular){
'use strict';
function directiveFactory(){
function linkFunction(){
}
return {
restrict: 'EA',
replace:true,
link: linkFunction,
scope:{
experiment:'='
},
templateUrl:'app/experimentDetails/views/sampleSummary.html'
};
}
angular.module('mainModule').directive('sampleSummary', directiveFactory);
})(angular);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment