Skip to content

Instantly share code, notes, and snippets.

@xjinza
Created December 9, 2016 07:48
Show Gist options
  • Save xjinza/ee11418088f1442b6dfcc3c3ea962946 to your computer and use it in GitHub Desktop.
Save xjinza/ee11418088f1442b6dfcc3c3ea962946 to your computer and use it in GitHub Desktop.
app.core.js 核心模块
define([
'angular',
// 'domReady',
'ui-router',
'ngCookies',
'angularAnimate',
'angularTouch',
], function(angular) {
'use strict';
var appCore=angular.module('app.core', [
'ui.router',
'ngCookies',
'ngAnimate',
'ngTouch',
]);
// require(['domReady!'], function(document) {
// angular.bootstrap(document, ['app.core']);
// });
return appCore;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment