"use strict";

angular.module('arethusa.search').directive('pluginSearch', function(injectables) {
  return {
    restrict: 'AE',
    scope: true,
    replace: true,
    link: function(scope, element, attrs) {
      scope.plugin = scope.$eval(attrs.pluginSearch);
      scope.template = 'templates/arethusa.' + scope.plugin.name + '/search.html';
    },
    template: '<div ng-include="template"></div>'
  };
});

"use strict";

angular.module('arethusa.search').directive('pluginSearch', function() {
  return {
    restrict: 'AE',
    scope: true,
    replace: true,
    link: function(scope, element, attrs) {
      scope.plugin = scope.$eval(attrs.pluginSearch);
      scope.template = 'templates/arethusa.' + scope.plugin.name + '/search.html';
    },
    template: '<div ng-include="template"></div>'
  };
});

Fix plugin in pluginSeach directive
Fix plugin in pluginSeach directive

Ah leftover from the creation through a snippet of this - breaks DI in
non-minified mode.
