FlipFlopWeekly/zori

View on GitHub
source/js/app.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * loads sub modules and wraps them up into the main module
 * this should be used for top-level module definitions only
 */
define([
    'angular',
    'angular-ui-router',
    './config',
    './services',
    './modules/home/index',
    './modules/admin/index'
], function(ng) {
    'use strict';

    return ng.module('app', [
        'app.constants',
        'app.services',
        'app.home',
        'app.admin',
        'ui.router'
    ]);
});