Skip to content

Instantly share code, notes, and snippets.

@narkisr
Created Sep 25, 2013
Embed
What would you like to do?
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