(function () { 'use strict'; var mod = angular.module('tasks', [ 'common.bootstrap', 'ui.bootstrap', 'ui.bootstrap.modal', 'myusers', 'usefulstuff', 'embedding', //embed in iframes 'myformsCompleted', ]); var templatePath = modulesSharedResourcesUrl + 'Modules/Tasks/Views/'; var config = { templatePath: templatePath, taskUrl: taskUrl, mybadgesUrl: mybadgesUrl, myShowcaseItemApiUrl: myShowcaseItemApiUrl, siteUrl: siteUrl, activityUrl: activityUrl }; mod.value('tasksConfig', config); mod.config(['$logProvider', function ($logProvider) { // turn debugging off/on (no info or warn) if ($logProvider.debugEnabled) $logProvider.debugEnabled(true); }]); mod.config(['$locationProvider', function ($locationProvider) { $locationProvider.html5Mode(false); $locationProvider.hashPrefix("!"); }]); //#endregion })();