'use strict';

/**
 * System modules provides common system services.
 * Including:
 *   Broadcast
 *   Message
 *   Layout 
 *   Page
 *   Pager
 *   Sorter
 *   Resources
 */

angular.module('system.services', [
    'system.services.broadcast',
    'system.services.message',
    'system.services.layout',
    'system.services.page',
    'system.services.pager',
    'system.services.sorter'
    //'system.services.global'
])
    .service('System', [
        'Broadcast',
        'Message',
        'Layout',
        'Page',
        'Pager',
        'Sorter',
        //'Global',
        function(Broadcast, Message, Layout, Page, Pager, Sorter, Global) {
            return {
                Layout: Layout,
                Message: Message,
                Broadcast: Broadcast,
                Page: Page,
                Pager: Pager,
                Sorter: Sorter,
                //Global: Global
            };
        }
    ]);