Comments (4)
If you specify the controller in your index.html, it seems to me the default solution is to not lazy load it. In fact, since this controller is needed throughout the app's lifetime, it makes sense to build it into your main module.
from angular-couch-potato.
Do you have some more information @seaeye777 ? It should work.
from angular-couch-potato.
Hi @seaeye777. You can use http://plnkr.co/ to create a small demonstration of the problem you're having if you'd like to seek help with a couch-potato problem here.
from angular-couch-potato.
We can reopen this if you want to provide a small plunker.
from angular-couch-potato.
Related Issues (20)
- testing HOT 22
- test issue
- Add http interceptor factory HOT 1
- Enter state after vendor library is loaded. HOT 25
- document registerConstant support HOT 4
- Lazy loaded directive is not applied on the controller's view HOT 1
- Example of ad-hoc module loading HOT 5
- how to lazy load a controller whose name has a variable from the $stateParams in resolve's dummy?
- Add minify js file
- ready doesn't fire in angular 1.0.7? HOT 5
- super lazy : both html and js HOT 1
- Whether to support cmd?
- Add support for registerComponent
- sample ui-router example code is not work HOT 1
- Angular route with html5Mode giving 'Not found' page after reload in apache HOT 9
- AngularUI Router HOT 1
- where is server.js? HOT 1
- What about the documentation? HOT 2
- Guidance on how to get Directives in HOT 3
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-couch-potato.