User profile editing and password

This commit is contained in:
2016-09-26 11:13:59 -04:00
parent 6789c1b3b5
commit 75b7c02979
54 changed files with 373 additions and 209 deletions
+13 -12
View File
@@ -1,7 +1,9 @@
(function() {
'use strict';
"use strict";
window.app.controller('UserController',
window.app.controller("UserController",
[
"$uibModal", "userSvc", "downloadSvc",
function($uibModal, userSvc, downloadSvc) {
var vm = this;
@@ -9,21 +11,20 @@
vm.create = function() {
$uibModal.open({
template: '<user-create />',
backdrop: 'static'
template: "<user-create />",
backdrop: "static"
});
}
};
vm.edit = function() {
$uibModal.open({
template: '<user-edit />',
backdrop: 'static'
template: "<user-edit />",
backdrop: "static"
});
}
};
vm.export = function() {
userSvc.exportUsers()
.success(downloadSvc.success);
}
});
};
}
]);
})();