/** * An element which displays a single label. */ angular.module('quay').directive('labelView', function () { return { templateUrl: '/static/directives/label-view.html', restrict: 'C', replace: true, scope: { expand: '@expand', label: '' + $sanitize($scope.label.value.replace('<', '<').replace('>', '>')) + '' }); }; } }; });