(function () { "use strict"; angular .module("app") .constant("app.SETTINGS", { // If user doesn't have available avatar, default image will be specified automatically. "DEFAULT_AVATAR": "images/default-user.png", // If image doesn't have available src, default image will be specified automatically. "DEFAULT_IMAGE": "images/default-image@x1.png", // If true, will be displayed a special modals contain an appropriate http-status exceptions. "DEVELOPMENT": false, // If true will be shown ui-notifications throughout errorHandler service. "SHOW_UI_MESSAGES": true, // If true - current page will be reloaded after click on "OK" button inside notification window. "RELOAD_PAGE_UNAUTHORIZED": false, // Common application description. "APP_INFO": { name: "CareMates", // name of your project description: 'Angular Bootstrap Admin Template', // brief description version: '1.0', // current version year: ((new Date()).getFullYear()), // automatic current year (for copyright information) isMobile: (function () { // true if the browser is a mobile device var check = false; if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { check = true; } return check; })(), layout: { isNavbarFixed: true, //true if you want to initialize the template with fixed header isSidebarFixed: true, // true if you want to initialize the template with fixed sidebar isSidebarClosed: false, // true if you want to initialize the template with closed sidebar isFooterFixed: false, // true if you want to initialize the template with fixed footer theme: 'theme-1', // indicate the theme chosen for your project logo: 'images/logo2.png' // relative path of the project logo }, user: { email: 'User', image: 'images/default-user.png' } } }); })();