fixed image bind directive
-imageBind.$inject = ['pipelineElementIconService'];
+imageBind.$inject = ['PipelineElementIconService'];
-export default function imageBind(pipelineElementIconService) {
+export default function imageBind(PipelineElementIconService) {
return {
restrict: 'A',
link: function (scope, elem, attrs) {
if (attrs.imageBind == 'block') {
- pipelineElementIconService.addImageOrTextIcon(elem, scope.element, false, 'block');
+ PipelineElementIconService.addImageOrTextIcon(elem, scope.element, false, 'block');
} else if (attrs.imageBind == 'draggable') {
- pipelineElementIconService.addImageOrTextIcon(elem, scope.element, false, 'draggable');
+ PipelineElementIconService.addImageOrTextIcon(elem, scope.element, false, 'draggable');
}
}
