app.js 1.2 KB
Newer Older
1 2 3
/**service module 定义*/
var appService = angular.module('app.service', ['ngResource']);

L
lepdou 已提交
4
/**utils*/
L
lepdou 已提交
5
var appUtil = angular.module('app.util', ['toastr']);
L
lepdou 已提交
6

L
lepdou 已提交
7
/** directive */
L
lepdou 已提交
8
var directive_module = angular.module('apollo.directive', ['app.service', 'app.util', 'toastr']);
L
lepdou 已提交
9

10
/** page module 定义*/
L
lepdou 已提交
11
// 首页
L
lepdou 已提交
12
var index_module = angular.module('index', ['toastr', 'app.service', 'app.util', 'angular-loading-bar']);
13
//项目主页
L
lepdou 已提交
14
var application_module = angular.module('application', ['app.service', 'apollo.directive', 'app.util', 'toastr', 'angular-loading-bar']);
15
//创建项目页面
L
lepdou 已提交
16
var create_app_module = angular.module('create_app', ['apollo.directive', 'toastr', 'app.service', 'app.util', 'angular-loading-bar']);
L
lepdou 已提交
17
//配置同步页面
L
lepdou 已提交
18 19 20
var sync_item_module = angular.module('sync_item', ['app.service', 'apollo.directive', 'app.util', 'toastr', 'angular-loading-bar']);
//namespace
var namespace_module = angular.module('namespace', ['app.service', 'apollo.directive', 'app.util', 'toastr', 'angular-loading-bar']);
L
lepdou 已提交
21 22
//server config
var server_config_module = angular.module('server_config', ['app.service', 'apollo.directive', 'app.util', 'toastr', 'angular-loading-bar']);
23 24 25 26 27