Skip to content

Instantly share code, notes, and snippets.

@narkisr
Created September 25, 2013 00:53
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 narkisr/6693570 to your computer and use it in GitHub Desktop.
Save narkisr/6693570 to your computer and use it in GitHub Desktop.
An simple text based directive
angular.module( 'celestial.system', [
'ui.state', 'ui.bootstrap', 'ngResource'
])
.directive('proxmox', function() {
return {
restrict: 'ECMA',
templateUrl: 'systems/proxmox.tpl.html'
};
})
.directive('vcenter', function() {
return {
restrict: 'ECMA',
templateUrl: 'systems/vcenter.tpl.html'
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment