Comments (2)
- app.run 无法获取内置的 provider, 需要 $asyncLoader 来中转
- app 默认的 value,constant 等几个方法不支持在 angular.bootstrap() 之后进行修改,必须通过 provider 来动态修改。我直接替换默认的方法,这样用户端代码可以不做任何修改就支持动态加载了。
from angular-async-loader.
@subchen
谢谢,我再熟悉下angular的原理。。
from angular-async-loader.
Related Issues (11)
- error at "asyncLoader.configure(app);" HOT 3
- 报错:app.provider is not a function
- 该组件搭配使用RequireJS和单独使用RequireJS有什么区别 HOT 2
- 请问一下示例中 ./app-routes 代表什么? 我demo中没找到 HOT 1
- 增加对webpack的支持? HOT 1
- 有没有办法,按需加载module呢? HOT 3
- 发现你代码中有一段代码可以注册第三方module HOT 14
- 关于exports HOT 2
- 你好,请问怎么不通过使用路由,来异步加载HTML及JS,并使它成功编译成ANGULAR局部应用? HOT 11
- 嵌套views后不能动态加载controler HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-async-loader.