12345678910111213 |
- (function (app) {
- app.factory('dreamService', ['$http', 'config', "util", function ($http, config, util) {
- return {
- addDream: function (data) {
- return $http({
- url: config.server + 'api/dream/store',
- method: "post",
- data: data
- })
- }
- };
- }]);
- })(angular.module('app.services'));
|