angular-async-loader icon indicating copy to clipboard operation
angular-async-loader copied to clipboard

Load modules and components asynchronously for angular 1.x application.

Results 2 angular-async-loader issues
Sort by recently updated
recently updated
newest added

路由设置
当主模块的requires数组中没有声明依赖路由模块,而路由被主模块中的依赖所依赖,那么应该重新定义路由 注册provider与运行runBlocks
注册模块下的providers,在处理完_invokeQueue和_configBlocks后,再处理所有模块下注册的runBlocks

这是这块代码的压缩包。 https://github.com/CHIheart/CHIanimate/blob/master/async.rar index.html ``` html Examples load!!! {{message}}{{LoginInfo.username}} seajs.use('./js') ``` js.js ``` javascript define(function(require,exports,module){ angular.module('AppLogin',[]) .value('LoginInfo',{ login:false, username:'用户名称' }) angular.module('AppMain',['AppLogin']) .controller('CtrlMain',['$scope',function($scope){}]) .controller('CtrlSync', ['$scope','LoginInfo', function($scope,LoginInfo){ $scope.message="This is a sync controller." $scope.LoginInfo=LoginInfo;...