diff options
Diffstat (limited to 'utils/test/reporting/pages/app/scripts/directives/mydirective.js')
-rw-r--r-- | utils/test/reporting/pages/app/scripts/directives/mydirective.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/utils/test/reporting/pages/app/scripts/directives/mydirective.js b/utils/test/reporting/pages/app/scripts/directives/mydirective.js new file mode 100644 index 000000000..1d7177a56 --- /dev/null +++ b/utils/test/reporting/pages/app/scripts/directives/mydirective.js @@ -0,0 +1,18 @@ +'use strict'; + +/** + * @ngdoc directive + * @name opnfvApp.directive:myDirective + * @description + * # myDirective + */ +angular.module('opnfvApp') + .directive('myDirective', function () { + return { + template: '<div></div>', + restrict: 'E', + link: function postLink(scope, element, attrs) { + element.text('this is the myDirective directive'); + } + }; + }); |