(function () { 'use strict'; //myforms module provides shared myforms functionality to and to non-admin / form building users var app = angular.module('myforms', [ 'common.bootstrap', 'ui.bootstrap', 'ui.bootstrap.modal', 'textAngular', 'checklist-model', 'usefulstuff', 'ngFileUpload', 'organisations', 'myformsCompleted', 'daterangepicker', ]); var config = { formTemplateManagementRemoteServiceUrl: formTemplateManagementRemoteServiceUrl, formTemplateRemoteServiceUrl: formTemplateRemoteServiceUrl, formRemoteServiceUrl: formRemoteServiceUrl, formIconBlank: formIconBlank, modulesSharedResourcesUrl: modulesSharedResourcesUrl }; app.value('myFormsConfig', config); app.config(['$logProvider', function ($logProvider) { // turn debugging off/on (no info or warn) if ($logProvider.debugEnabled) $logProvider.debugEnabled(true); }]); app.config(['$locationProvider', function ($locationProvider) { $locationProvider.html5Mode(false); $locationProvider.hashPrefix("!"); }]); //#endregion })();