How do I create a function, in factory, to enter data in the database?
I have this:
.factory('pegaContas', ['$http', function($http) {
var _getContasEntrada = function(id_empresa) {
return $http.post("php/index.php", id_empresa);...
asked by
21.11.2015 / 15:09