Remove angular-ui-bootstrap dependency.

This commit is contained in:
Alexis Lahouze 2017-07-08 09:39:18 +02:00
parent 28afd8f563
commit 319c0adc16
4 changed files with 2 additions and 9 deletions

View File

@ -40,7 +40,6 @@
"angular-resource": "^1.6", "angular-resource": "^1.6",
"angular-route": "^1.6", "angular-route": "^1.6",
"angular-strap": "^2.3.12", "angular-strap": "^2.3.12",
"angular-ui-bootstrap": "^2.5",
"angular-ui-notification": "^0.3", "angular-ui-notification": "^0.3",
"base64util": "^1.0.2", "base64util": "^1.0.2",
"bootbox": "^4.4.0", "bootbox": "^4.4.0",

View File

@ -22,7 +22,6 @@ var angular = require('angular');
var ngResource = require('angular-resource'), var ngResource = require('angular-resource'),
ngMessages = require('angular-messages'), ngMessages = require('angular-messages'),
ngUiBootstrap = require('angular-ui-bootstrap'),
ngUiNotification = require('angular-ui-notification'), ngUiNotification = require('angular-ui-notification'),
ngStrap = require('angular-strap'); ngStrap = require('angular-strap');
@ -33,7 +32,6 @@ var AccountController = require('./account.controller.js');
module.exports = angular.module('accountant.accounts', [ module.exports = angular.module('accountant.accounts', [
ngResource, ngResource,
ngMessages, ngMessages,
ngUiBootstrap,
ngUiNotification, ngUiNotification,
ngStrap, ngStrap,
]) ])

View File

@ -21,8 +21,7 @@
var angular = require('angular'); var angular = require('angular');
var ngStorage = require('meanie-angular-storage'), var ngStorage = require('meanie-angular-storage'),
ngHttpAuth = require('angular-http-auth'), ngHttpAuth = require('angular-http-auth');
ngUiBootstrap = require('angular-ui-bootstrap');
// Note: ngHttpAuth seems to have no module.exports. // Note: ngHttpAuth seems to have no module.exports.
ngHttpAuth = 'http-auth-interceptor'; ngHttpAuth = 'http-auth-interceptor';
@ -33,8 +32,7 @@ var LoginController = require('./login.controller');
module.exports = angular.module('accountant.login', [ module.exports = angular.module('accountant.login', [
ngHttpAuth, ngHttpAuth,
ngStorage, ngStorage
ngUiBootstrap
]) ])
.service('LoginService', LoginService) .service('LoginService', LoginService)

View File

@ -24,13 +24,11 @@ var scheduleFormTmpl = require('./schedule.form.tmpl.html'),
scheduleDeleteTmpl = require('./schedule.delete.tmpl.html'); scheduleDeleteTmpl = require('./schedule.delete.tmpl.html');
var ngMessages = require('angular-messages'), var ngMessages = require('angular-messages'),
ngUiBootstrap = require('angular-ui-bootstrap'),
ngUiNotification = require('angular-ui-notification'), ngUiNotification = require('angular-ui-notification'),
ngStrap = require('angular-strap'); ngStrap = require('angular-strap');
module.exports = angular.module('accountant.scheduler', [ module.exports = angular.module('accountant.scheduler', [
ngMessages, ngMessages,
ngUiBootstrap,
ngUiNotification, ngUiNotification,
ngStrap ngStrap
]) ])