Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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