harbor/static/resources/js/services/user/services.send-mail.js

26 lines
435 B
JavaScript
Raw Normal View History

(function() {
'use strict';
angular
.module('harbor.services.user')
.factory('SendMailService', SendMailService);
SendMailService.$inject = ['$http', '$log'];
function SendMailService($http, $log) {
return SendMail;
function SendMail(email) {
return $http
.get('/sendEmail', {
'params': {
'email': email
}
});
}
}
})();