var app = angular.module('swot', [
    'ui.bootstrap',
    'ui.utils',
    'ui.sortable',
    'focus',
    'confirmExit',
    'ngDebounce',
    'ngAnimate',
    'xeditable',
    'angularBootstrapNavTree'
]);

app.config(['$httpProvider', function ($httpProvider) {
    // Add support for HTTP PATCH verb for sending partial updates.
    $httpProvider.defaults.headers.patch = {
        'Content-Type': 'application/json;charset=utf-8'
    };
}]);

app.run(function (editableOptions, editableThemes) {
    // Set options for angular-xeditable
    editableOptions.theme = 'bs3';
    editableThemes.bs3.inputClass = 'input-sm';
    editableThemes.bs3.buttonsClass = 'btn-sm';
});

var app = angular.module('swot', [
    'ui.bootstrap',
    'ui.utils',
    'ui.sortable',
    'focus',
    'confirmExit',
    'ngDebounce',
    'ngAnimate',
    'xeditable',
    'angularBootstrapNavTree'
]);

app.config(['$httpProvider', function ($httpProvider) {
    // Add support for HTTP PATCH verb for sending partial updates.
    $httpProvider.defaults.headers.patch = {
        'Content-Type': 'application/json;charset=utf-8'
    };
}]);

app.run(function (editableOptions, editableThemes) {
    // Set options for angular-xeditable
    editableOptions.theme = 'bs3';
    editableOptions.activate = 'select';
    editableThemes.bs3.inputClass = 'input-sm';
    editableThemes.bs3.buttonsClass = 'btn-sm';
});

Select all when editing in angular-xeditable by default
Select all when editing in angular-xeditable by default
