Skip to content

Instantly share code, notes, and snippets.

@aamiraftab
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aamiraftab/409dc756a890d066d298 to your computer and use it in GitHub Desktop.
Save aamiraftab/409dc756a890d066d298 to your computer and use it in GitHub Desktop.
var app = angular.module('testApp',[]).directive('myDirective1',function(){
return{
template:"<div>Hello from directive 1</div>",
replace:true,
retrict:'E'
}
}).directive('myDirective2',function(){
return{
template:"<div>Hello from directive 2</div>",
replace:true,
retrict:'E'
}
}).directive('myDirective3',function(){
return{
template:"<div>Hello from directive 3</div>",
replace:true,
retrict:'E'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment