Move needed libraries to the right places.
This commit is contained in:
parent
36e25fc1b7
commit
1ff7c98f93
@ -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,
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user