service.js 298 Bytes edit raw blame history 1 2 3 4 5 6 7 8 angular.module('focaModalLogin') .factory('focaModalLoginService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { return { postLogin: function(login) { return $http.post(API_ENDPOINT.URL + '/login/crear', login); } }; }]);