'use strict';

var module = angular.module('announcementBoardServices', ['ngResource']);

module.factory('RESTService', ['$resource', function($resource) {

    return {
        login: function(username, password) {
            return $resource('./authorization/login').save({
                username: username,
                password: password
            });
        }
        signup: function(userdata) {
            return $resource('./users').save({
                name: userdata.fullname,
                username: userdata.username,
                password: userdata.password,
                email: userdata.email
            });
        }
    }
}]);
@@ -103,12 +103,12 @@
 ry('
-REST
+User
 Serv
@@ -656,8 +656,172 @@
   %7D%0A%7D%5D);
+%0A%0Amodule.factory('AuthorizationService', %5B'$resource', function($resource) %7B%0A%0A%7D%5D);%0A%0Amodule.factory('AnnouncementService', %5B'$resource', function($resource) %7B%0A%0A%7D%5D);%0A

Categorize the services.js into UserService, AuthorizationService, AnnouncementService