angular .module('portainer') .directive('rdHeaderTitle', function rdHeaderTitle() { var directive = { requires: '^rdHeader', scope: { title: '@' }, transclude: true, template: '
{{title}}
', restrict: 'E' }; return directive; });