<commit_before>'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: <PASSWORD>,
                email: userdata.email
            });
        }
    }
}]);<commit_msg>Categorize the services.js into UserService, AuthorizationService, AnnouncementService<commit_after>'use strict';

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

module.factory('UserService', ['$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: <PASSWORD>,
                email: userdata.email
            });
        }
    }
}]);

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

}]);

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

}]);
{'fraction_non_alphanumeric': 0.1379525593008739, 'fraction_numerical': 0.0, 'mean_word_length': 2.1805555555555554, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7378720', 'n_tokens_mistral': 402, 'n_tokens_neox': 388, 'n_words': 74}