blob: 1d7177a5697b88e220a95c2f2310b864f5090bb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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');
}
};
});
|