Move needed libraries to the right places.

This commit is contained in:
Alexis Lahouze 2017-07-08 09:19:35 +02:00
parent 36e25fc1b7
commit 1ff7c98f93
3 changed files with 4 additions and 4 deletions

View File

@ -27,14 +27,10 @@ var ngStorage = require('meanie-angular-storage'),
// Note: ngHttpAuth seems to have no module.exports. // Note: ngHttpAuth seems to have no module.exports.
ngHttpAuth = 'http-auth-interceptor'; ngHttpAuth = 'http-auth-interceptor';
var loginTmpl = require('./login.tmpl.html');
var LoginService = require('./login.service'); var LoginService = require('./login.service');
var LoginConfig = require('./login.config'); var LoginConfig = require('./login.config');
var LoginController = require('./login.controller'); var LoginController = require('./login.controller');
var base64 = require('base64util');
module.exports = angular.module('accountant.login', [ module.exports = angular.module('accountant.login', [
ngHttpAuth, ngHttpAuth,
ngStorage, ngStorage,

View File

@ -1,3 +1,5 @@
var base64 = require('base64util');
module.exports = function($scope, $uibModalInstance, $http, $log) { module.exports = function($scope, $uibModalInstance, $http, $log) {
var vm = this; var vm = this;

View File

@ -1,3 +1,5 @@
var loginTmpl = require('./login.tmpl.html');
module.exports = function($uibModal, $storage, $document, $log, authService) { module.exports = function($uibModal, $storage, $document, $log, authService) {
var login = function () { var login = function () {
$storage.session.clear(); $storage.session.clear();