define(['../app', '../html/config_item_show_edit_directive.html', '../functions/showEditController'], function(app, template, showEditController){
    app.directive('configShowEdit', function() {
        return {
            restrict: 'E',
            bindToController: true,
            controllerAs: 'ctrl',
            scope: {
                type: "=",
                item: "="
            },
            templateUrl: template,
            controller: showEditController
        };
    });
});