1d7177a5697b88e220a95c2f2310b864f5090bb6
[releng.git] / utils / test / reporting / pages / app / scripts / directives / mydirective.js
1 'use strict';
2
3 /**
4  * @ngdoc directive
5  * @name opnfvApp.directive:myDirective
6  * @description
7  * # myDirective
8  */
9 angular.module('opnfvApp')
10   .directive('myDirective', function () {
11     return {
12       template: '<div></div>',
13       restrict: 'E',
14       link: function postLink(scope, element, attrs) {
15         element.text('this is the myDirective directive');
16       }
17     };
18   });